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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.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/modules/serviceworkers/ServiceWorkerThread.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
index d0503828a38dd2d3970fe7d2b57daf9b2c2a2e2f..67155cffcbcdd15b7f4cf2a93741eff21c409c83 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerThread.cpp
@@ -40,20 +40,15 @@ namespace blink {
std::unique_ptr<ServiceWorkerThread> ServiceWorkerThread::create(
PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
- WorkerReportingProxy& workerReportingProxy,
- ParentFrameTaskRunners* parentFrameTaskRunners) {
+ WorkerReportingProxy& workerReportingProxy) {
return WTF::wrapUnique(new ServiceWorkerThread(std::move(workerLoaderProxy),
- workerReportingProxy,
- parentFrameTaskRunners));
+ workerReportingProxy));
}
ServiceWorkerThread::ServiceWorkerThread(
PassRefPtr<WorkerLoaderProxy> workerLoaderProxy,
- WorkerReportingProxy& workerReportingProxy,
- ParentFrameTaskRunners* parentFrameTaskRunners)
- : WorkerThread(std::move(workerLoaderProxy),
- workerReportingProxy,
- parentFrameTaskRunners),
+ WorkerReportingProxy& workerReportingProxy)
+ : WorkerThread(std::move(workerLoaderProxy), workerReportingProxy),
m_workerBackingThread(
WorkerBackingThread::create("ServiceWorker Thread")) {}

Powered by Google App Engine
This is Rietveld 408576698