Bug 123407 - RunLoop::dispatch should take an std::function
Summary: RunLoop::dispatch should take an std::function
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-10-28 09:16 PDT by Anders Carlsson
Modified: 2013-10-28 13:09 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.28 KB, patch)
2013-10-28 09:17 PDT, Anders Carlsson
kling: 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-10-28 09:16:30 PDT
RunLoop::dispatch should take an std::function
Comment 1 Anders Carlsson 2013-10-28 09:17:19 PDT
Created attachment 215312 [details]
Patch
Comment 2 Andreas Kling 2013-10-28 09:18:46 PDT
Comment on attachment 215312 [details]
Patch

Sweet!
Comment 3 WebKit Commit Bot 2013-10-28 09:19:38 PDT
Attachment 215312 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/FunctionDispatcher.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.exp.in', u'Source/WebCore/platform/RunLoop.cpp', u'Source/WebCore/platform/RunLoop.h']" exit_code: 1
Source/WebCore/platform/RunLoop.cpp:123:  Extra space before ( in function call  [whitespace/parens] [4]
Source/WebCore/platform/RunLoop.h:60:  Extra space before ( in function call  [whitespace/parens] [4]
Source/WebCore/platform/RunLoop.h:136:  Extra space before ( in function call  [whitespace/parens] [4]
Source/WTF/wtf/FunctionDispatcher.h:38:  Extra space before ( in function call  [whitespace/parens] [4]
Total errors found: 4 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Anders Carlsson 2013-10-28 13:09:13 PDT
Committed r158123: <http://trac.webkit.org/changeset/158123>