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

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

Issue 2718643002: Worker: Pass ParentFrameTaskRunners via WorkerThread::start() instead of the ctor (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp b/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
index 6f23acd87d90d83daeb68c080cc522190dc39f25..240f0b237e3e0982fdce58a43f023fbaf6ada875 100644
--- a/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp
@@ -239,12 +239,13 @@ class WorkerThreadableLoaderTestHelper : public ThreadableLoaderTestHelper,
m_securityOrigin = document().getSecurityOrigin();
m_parentFrameTaskRunners =
ParentFrameTaskRunners::create(&m_dummyPageHolder->frame());
- m_workerThread = WTF::wrapUnique(new WorkerThreadForTest(
- this, *m_mockWorkerReportingProxy, m_parentFrameTaskRunners.get()));
+ m_workerThread = WTF::wrapUnique(
+ new WorkerThreadForTest(this, *m_mockWorkerReportingProxy));
expectWorkerLifetimeReportingCalls();
m_workerThread->startWithSourceCode(m_securityOrigin.get(),
- "//fake source code");
+ "//fake source code",
+ m_parentFrameTaskRunners.get());
m_workerThread->waitForInit();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698