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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp

Issue 2539443004: Worker: Move ParentFrameTaskRunners from WorkerReportingProxy to ObjectProxy (Closed)
Patch Set: rebase 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
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 80aef45e21cbeba50b2e0bfb76d6d23a716f7379..65d22d54fa16f0bb7b11f64eccd073a2ebe7b680 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -474,8 +474,8 @@ 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_workerThread = ServiceWorkerThread::create(
+ m_loaderProxy, *m_workerGlobalScopeProxy, m_mainThreadTaskRunners.get());
m_workerThread->start(std::move(startupData));
m_workerInspectorProxy->workerThreadCreated(document, m_workerThread.get(),
scriptURL);
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698