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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp

Issue 2539443004: Worker: Move ParentFrameTaskRunners from WorkerReportingProxy to ObjectProxy (Closed)
Patch Set: Created 4 years, 1 month 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/core/workers/InProcessWorkerObjectProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
index 615bb9ad614aa9eaade96313d7ef2692251c313e..9e945d08082bf0aa3a2e5d3d7ced7584eac59f1a 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
@@ -152,12 +152,6 @@ void InProcessWorkerObjectProxy::postMessageToPageInspector(
}
}
-ParentFrameTaskRunners*
-InProcessWorkerObjectProxy::getParentFrameTaskRunners() {
- DCHECK(m_messagingProxy);
- return m_messagingProxy->getParentFrameTaskRunners();
-}
-
void InProcessWorkerObjectProxy::didCreateWorkerGlobalScope(
WorkerOrWorkletGlobalScope* globalScope) {
DCHECK(!m_workerGlobalScope);
@@ -207,6 +201,12 @@ ExecutionContext* InProcessWorkerObjectProxy::getExecutionContext() {
return m_messagingProxy->getExecutionContext();
}
+ParentFrameTaskRunners*
+InProcessWorkerObjectProxy::getParentFrameTaskRunners() {
+ DCHECK(m_messagingProxy);
+ return m_messagingProxy->getParentFrameTaskRunners();
+}
+
void InProcessWorkerObjectProxy::checkPendingActivity(TimerBase*) {
bool hasPendingActivity = V8GCController::hasPendingActivity(
m_workerGlobalScope->thread()->isolate(), m_workerGlobalScope);

Powered by Google App Engine
This is Rietveld 408576698