Have ScriptExecutionContext::Task lambdas take in a ScriptExecutionContext reference
Created attachment 232950 [details] Patch
Attachment 232950 [details] did not pass style-queue: ERROR: Source/WebCore/dom/ScriptExecutionContext.h:120: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/dom/ScriptExecutionContext.h:127: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/dom/ScriptExecutionContext.h:144: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/bindings/js/JSDOMGlobalObjectTask.cpp:86: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebCore/workers/WorkerThread.cpp:216: Extra space before ) [whitespace/parens] [2] ERROR: Source/WebCore/loader/WorkerThreadableLoader.cpp:161: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] ERROR: Source/WebCore/loader/WorkerThreadableLoader.cpp:172: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] ERROR: Source/WebCore/loader/WorkerThreadableLoader.cpp:184: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] ERROR: Source/WebCore/loader/WorkerThreadableLoader.cpp:197: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] ERROR: Source/WebCore/loader/WorkerThreadableLoader.cpp:208: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] ERROR: Source/WebCore/loader/WorkerThreadableLoader.cpp:230: The parameter type should use PassRefPtr instead of RefPtr. [readability/pass_ptr] [5] Total errors found: 11 in 26 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 232950 [details] Patch Clearing flags on attachment: 232950 Committed r170013: <http://trac.webkit.org/changeset/170013>
All reviewed patches have been landed. Closing bug.