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

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

Powered by Google App Engine
This is Rietveld 408576698