Add WorkQueue::dispatch and RunLoop::dispatch which both take WTF::Function objects
Created attachment 119354 [details] Patch
Attachment 119354 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/Platform/RunLoop.h:51: Code inside a namespace should not be indented. [whitespace/indent] [4] Source/WebKit2/Platform/WorkQueue.h:56: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 2 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Committed r102866: <http://trac.webkit.org/changeset/102866>
This caused a repro crasher: https://bugs.webkit.org/show_bug.cgi?id=74655