Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp

Issue 2108033005: Specify WTF:: prefix for bind() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
diff --git a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
index 1d5d577c573e56c85b77ff6ce3b27572524aafdf..f709bb9771126d8067442d030cb66a191992bbd2 100644
--- a/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
+++ b/third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp
@@ -81,7 +81,7 @@ void runServeAsyncRequestsTask(TestWebFrameClient* client)
{
Platform::current()->getURLLoaderMockFactory()->serveAsynchronousRequests();
if (client->isLoading())
- Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&runServeAsyncRequestsTask, WTF::unretained(client)));
+ Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, WTF::bind(&runServeAsyncRequestsTask, WTF::unretained(client)));
else
testing::exitRunLoop();
}
@@ -149,7 +149,7 @@ void reloadFrameIgnoringCache(WebFrame* frame)
void pumpPendingRequestsForFrameToLoad(WebFrame* frame)
{
- Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&runServeAsyncRequestsTask, WTF::unretained(testClientForFrame(frame))));
+ Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, WTF::bind(&runServeAsyncRequestsTask, WTF::unretained(testClientForFrame(frame))));
testing::enterRunLoop();
}
« no previous file with comments | « third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp ('k') | third_party/WebKit/Source/wtf/Functional.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698