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)
Created attachment 43090 [details] Proposed patch.
Landed: http://trac.webkit.org/changeset/50919
There was a style error in this patch, btw. Guess we need Adam Barth's style bot. :)
{} around single line if was the style error: 62 } else { 263 callOnMainThread(PerformTaskData::performTask, new PerformTaskData(this, task)); 264 }
> {} around single line if was the style error: Thanks! Will fix while landing a patch for regression (bug 31615)