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

Unified Diff: third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp

Issue 2648023002: Use TaskRunnerTimer in LinkLoader (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/loader/LinkLoaderClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
index f58746638b4967615db5d8d630592471b0be161c..6022ebb7af5ab5e9686f18137f85a67809b6d95e 100644
--- a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
@@ -43,6 +43,10 @@ class MockLinkLoaderClient final
void didSendLoadForLinkPrerender() override {}
void didSendDOMContentLoadedForLinkPrerender() override {}
+ RefPtr<WebTaskRunner> getLoadingTaskRunner() override {
+ return Platform::current()->currentThread()->getWebTaskRunner();
+ }
+
private:
explicit MockLinkLoaderClient(bool shouldLoad) : m_shouldLoad(shouldLoad) {}
« no previous file with comments | « third_party/WebKit/Source/core/loader/LinkLoaderClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698