Replace a couple of uses of WTF::Function with std::function
Created attachment 221547 [details] Patch
Attachment 221547 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/DrawingArea.h:112: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.cpp:49: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.cpp:61: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.cpp:63: Missing space before { [whitespace/braces] [5] ERROR: Source/WebCore/page/scrolling/ScrollingThread.cpp:87: More than one command on the same line [whitespace/newline] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.cpp:87: Missing space before { [whitespace/braces] [5] ERROR: Source/WebCore/page/scrolling/ScrollingThread.cpp:106: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp:80: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/Shared/ChildProcess.cpp:53: Missing space before { [whitespace/braces] [5] ERROR: Source/WebKit2/Platform/WorkQueue.h:60: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/Platform/WorkQueue.h:61: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.h:49: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.h:53: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/page/scrolling/ScrollingThread.h:81: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/Platform/mac/WorkQueueMac.cpp:29: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/Platform/mac/WorkQueueMac.cpp:38: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/Platform/mac/WorkQueueMac.cpp:41: Missing space before { [whitespace/braces] [5] ERROR: Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:87: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/Platform/IPC/mac/ConnectionMac.cpp:104: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebKit2/Platform/IPC/mac/ConnectionMac.cpp:107: Missing space before { [whitespace/braces] [5] Total errors found: 20 in 15 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 221547 [details] Patch r=me
Committed r162276: <http://trac.webkit.org/changeset/162276>