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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.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/ThreadedWorkletObjectProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
index f8fc183a13648a5b9d3bb91d3c9df58aea68b991..4ed80b9dc556d8da92ccab4f535b25929aa37be4 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
@@ -50,12 +50,6 @@ void ThreadedWorkletObjectProxy::postMessageToPageInspector(
crossThreadUnretained(m_messagingProxy), message));
}
-ParentFrameTaskRunners*
-ThreadedWorkletObjectProxy::getParentFrameTaskRunners() {
- DCHECK(m_messagingProxy);
- return m_messagingProxy->getParentFrameTaskRunners();
-}
-
void ThreadedWorkletObjectProxy::didCloseWorkerGlobalScope() {
// TODO(nhiroki): Replace this with getParentFrameTaskRunners().
// (https://crbug.com/667310)
@@ -85,4 +79,10 @@ ExecutionContext* ThreadedWorkletObjectProxy::getExecutionContext() const {
return m_messagingProxy->getExecutionContext();
}
+ParentFrameTaskRunners* ThreadedWorkletObjectProxy::getParentFrameTaskRunners()
+ const {
+ DCHECK(m_messagingProxy);
+ return m_messagingProxy->getParentFrameTaskRunners();
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698