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

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

Issue 2513413003: Worker: Provide a way to access parent frame task runners from a worker thread (Closed)
Patch Set: update comments 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 c766152663af5cd4e8f0fd27d3a9ec2409393963..394bea66fdf4902bf1532d2b9f635816c826ed1d 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.cpp
@@ -53,6 +53,12 @@ void ThreadedWorkletObjectProxy::postMessageToPageInspector(
message));
}
+ParentFrameTaskRunners*
+ThreadedWorkletObjectProxy::getParentFrameTaskRunners() {
+ DCHECK(m_messagingProxy);
+ return m_messagingProxy->getParentFrameTaskRunners();
+}
+
void ThreadedWorkletObjectProxy::didCloseWorkerGlobalScope() {
getExecutionContext()->postTask(
BLINK_FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698