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

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.h

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/web/WebSharedWorkerImpl.h
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
index adb05d1bf54ec3d45e0daed4120c69e2ed39b4da..eed954662930773797e4247d86d0f5b6a55f982c 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
@@ -83,6 +83,7 @@ class WebSharedWorkerImpl final : public WorkerReportingProxy,
const String& message,
SourceLocation*) override;
void postMessageToPageInspector(const WTF::String&) override;
+ ParentFrameTaskRunners* getParentFrameTaskRunners() override;
void didEvaluateWorkerScript(bool success) override {}
void didCloseWorkerGlobalScope() override;
void willDestroyWorkerGlobalScope() override {}
@@ -167,7 +168,7 @@ class WebSharedWorkerImpl final : public WorkerReportingProxy,
Persistent<WorkerInspectorProxy> m_workerInspectorProxy;
- Persistent<ParentFrameTaskRunners> m_mainThreadTaskRunners;
+ Persistent<ParentFrameTaskRunners> m_parentFrameTaskRunners;
std::unique_ptr<WorkerThread> m_workerThread;

Powered by Google App Engine
This is Rietveld 408576698