Summary: | ScriptExecutionContext::Task parameters should always be rvalue references | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> | ||||
Component: | New Bugs | Assignee: | Zan Dobersek <zan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | andersca, commit-queue, darin, esprehn+autocc, kangil.han | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Zan Dobersek
2014-06-07 22:49:22 PDT
Created attachment 232679 [details]
Patch
Comment on attachment 232679 [details]
Patch
Wait, I am not sure this is a good idea. If the object really is move-only then it seems strange to change it to &&.
Anders, what do you think of this from a coding style point of view? (In reply to comment #3) > Anders, what do you think of this from a coding style point of view? If it's move only it doesn't matter. I don't think it should be an rvalue reference in that case. Committed r170106: <http://trac.webkit.org/changeset/170106> Sorry, I missed the comments before landing. I'll revert these and other ScriptExecutionContext::Task&& parameters in one go, in a different bug. |