Add FunctionDispatcher class and make RunLoop derive from it
Created attachment 200221 [details] Patch
Attachment 200221 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/WTF.pro', u'Source/WTF/WTF.vcproj/WTF.vcproj', u'Source/WTF/WTF.vcxproj/WTF.vcxproj', u'Source/WTF/WTF.xcodeproj/project.pbxproj', u'Source/WTF/wtf/FunctionDispatcher.cpp', u'Source/WTF/wtf/FunctionDispatcher.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/RunLoop.h']" exit_code: 1 Source/WTF/wtf/FunctionDispatcher.h:35: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 1 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 200224 [details] Patch
Attachment 200224 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/GNUmakefile.list.am', u'Source/WTF/WTF.pro', u'Source/WTF/WTF.vcproj/WTF.vcproj', u'Source/WTF/WTF.vcxproj/WTF.vcxproj', u'Source/WTF/WTF.xcodeproj/project.pbxproj', u'Source/WTF/wtf/FunctionDispatcher.cpp', u'Source/WTF/wtf/FunctionDispatcher.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/RunLoop.h']" exit_code: 1 Source/WTF/wtf/FunctionDispatcher.h:35: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 200224 [details] Patch Attachment 200224 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/369080
Created attachment 200227 [details] Patch
Created attachment 200228 [details] Patch
Attachment 200228 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/GNUmakefile.list.am', u'Source/WTF/WTF.pro', u'Source/WTF/WTF.vcproj/WTF.vcproj', u'Source/WTF/WTF.vcxproj/WTF.vcxproj', u'Source/WTF/WTF.xcodeproj/project.pbxproj', u'Source/WTF/wtf/CMakeLists.txt', u'Source/WTF/wtf/FunctionDispatcher.cpp', u'Source/WTF/wtf/FunctionDispatcher.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/RunLoop.h']" exit_code: 1 Source/WTF/wtf/FunctionDispatcher.h:35: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 200228 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=200228&action=review > Source/WTF/wtf/FunctionDispatcher.h:32 > +class FunctionDispatcher : public ThreadSafeRefCounted<FunctionDispatcher> { > +public: I think this is abstract enough that it could use a comment explaining its use.
Committed r149444: <http://trac.webkit.org/changeset/149444>