RESOLVED FIXED 31427
Add postTaskToMainThread to ScriptExecutionContext
https://bugs.webkit.org/show_bug.cgi?id=31427
Summary Add postTaskToMainThread to ScriptExecutionContext
Dmitry Titov
Reported 2009-11-12 12:13:17 PST
Moving the code from Document to the protected member of the base class. It can be used as helper for the derived contexts that live on the main thread. In preparation for GlobalScript (bug 31317)
Attachments
Proposed patch. (5.19 KB, patch)
2009-11-12 12:21 PST, Dmitry Titov
ap: review+
dimich: commit-queue-
Dmitry Titov
Comment 1 2009-11-12 12:21:43 PST
Created attachment 43090 [details] Proposed patch.
Dmitry Titov
Comment 2 2009-11-12 17:18:11 PST
Eric Seidel (no email)
Comment 3 2009-11-17 21:26:16 PST
There was a style error in this patch, btw. Guess we need Adam Barth's style bot. :)
Eric Seidel (no email)
Comment 4 2009-11-17 21:26:48 PST
{} around single line if was the style error: 62 } else { 263 callOnMainThread(PerformTaskData::performTask, new PerformTaskData(this, task)); 264 }
Dmitry Titov
Comment 5 2009-11-18 00:41:26 PST
> {} around single line if was the style error: Thanks! Will fix while landing a patch for regression (bug 31615)
Note You need to log in before you can comment on or make changes to this bug.