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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.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
Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
index ebae808087cf66ed33b0058781fb022bb7dde33d..e8ebbf64e98c0bba264578cddefc87697f5e48ec 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -473,9 +473,9 @@ void WebEmbeddedWorkerImpl::startWorkerThread() {
m_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(
*this, *document, *m_workerContextClient);
m_loaderProxy = WorkerLoaderProxy::create(this);
- m_workerThread = ServiceWorkerThread::create(
- m_loaderProxy, *m_workerGlobalScopeProxy, m_mainThreadTaskRunners.get());
- m_workerThread->start(std::move(startupData));
+ m_workerThread =
+ ServiceWorkerThread::create(m_loaderProxy, *m_workerGlobalScopeProxy);
+ m_workerThread->start(std::move(startupData), m_mainThreadTaskRunners.get());
m_workerInspectorProxy->workerThreadCreated(document, m_workerThread.get(),
scriptURL);
}

Powered by Google App Engine
This is Rietveld 408576698