Bug 115480 - Add FunctionDispatcher class and make RunLoop derive from it
Summary: Add FunctionDispatcher class and make RunLoop derive from it
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-01 10:44 PDT by Anders Carlsson
Modified: 2013-05-01 11:58 PDT (History)
9 users (show)

See Also:


Attachments
Patch (12.91 KB, patch)
2013-05-01 10:47 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (13.48 KB, patch)
2013-05-01 10:56 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (15.39 KB, patch)
2013-05-01 11:13 PDT, Anders Carlsson
no flags Details | Formatted Diff | Diff
Patch (14.10 KB, patch)
2013-05-01 11:18 PDT, Anders Carlsson
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2013-05-01 10:44:57 PDT
Add FunctionDispatcher class and make RunLoop derive from it
Comment 1 Anders Carlsson 2013-05-01 10:47:07 PDT
Created attachment 200221 [details]
Patch
Comment 2 WebKit Commit Bot 2013-05-01 10:48:51 PDT
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.
Comment 3 Anders Carlsson 2013-05-01 10:56:15 PDT
Created attachment 200224 [details]
Patch
Comment 4 WebKit Commit Bot 2013-05-01 10:58:45 PDT
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 5 EFL EWS Bot 2013-05-01 11:05:29 PDT
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
Comment 6 Anders Carlsson 2013-05-01 11:13:47 PDT
Created attachment 200227 [details]
Patch
Comment 7 Anders Carlsson 2013-05-01 11:18:14 PDT
Created attachment 200228 [details]
Patch
Comment 8 WebKit Commit Bot 2013-05-01 11:19:08 PDT
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 9 Sam Weinig 2013-05-01 11:27:56 PDT
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.
Comment 10 Anders Carlsson 2013-05-01 11:58:23 PDT
Committed r149444: <http://trac.webkit.org/changeset/149444>