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

Unified Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.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/ServiceWorkerGlobalScopeProxy.cpp
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
index 4a87647a5e8562eb12e06b01190a4b3d04380738..8ade93f2a08cef6a37f70f33598eb373390b9bc8 100644
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp
@@ -416,19 +416,13 @@ void ServiceWorkerGlobalScopeProxy::postMessageToPageInspector(
DCHECK(m_embeddedWorker);
// The TaskType of Inspector tasks need to be Unthrottled because they need to
// run even on a suspended page.
- getParentFrameTaskRunners()
- ->get(TaskType::Unthrottled)
+ m_parentFrameTaskRunners->get(TaskType::Unthrottled)
->postTask(
BLINK_FROM_HERE,
crossThreadBind(&WebEmbeddedWorkerImpl::postMessageToPageInspector,
crossThreadUnretained(m_embeddedWorker), message));
}
-ParentFrameTaskRunners*
-ServiceWorkerGlobalScopeProxy::getParentFrameTaskRunners() {
- return m_parentFrameTaskRunners.get();
-}
-
void ServiceWorkerGlobalScopeProxy::didCreateWorkerGlobalScope(
WorkerOrWorkletGlobalScope* workerGlobalScope) {
DCHECK(!m_workerGlobalScope);
« no previous file with comments | « third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698