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

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

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.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h
index 59e685133da5189ea2b95edf998956302653e69d..2c24b2dc4efdce6de9aa20bbf7f6e3e0fec3a195 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h
@@ -14,6 +14,7 @@ namespace blink {
class ConsoleMessage;
class ExecutionContext;
+class ParentFrameTaskRunners;
class ThreadedWorkletMessagingProxy;
// A proxy to talk to the parent worklet object. This object is created on the
@@ -39,7 +40,6 @@ class CORE_EXPORT ThreadedWorkletObjectProxy : public WorkerReportingProxy {
const String& message,
SourceLocation*) override;
void postMessageToPageInspector(const String&) override;
- ParentFrameTaskRunners* getParentFrameTaskRunners() override;
void didEvaluateWorkerScript(bool success) override {}
void didCloseWorkerGlobalScope() override;
void willDestroyWorkerGlobalScope() override {}
@@ -50,6 +50,7 @@ class CORE_EXPORT ThreadedWorkletObjectProxy : public WorkerReportingProxy {
private:
ExecutionContext* getExecutionContext() const;
+ ParentFrameTaskRunners* getParentFrameTaskRunners() const;
// This object always outlives this proxy.
ThreadedWorkletMessagingProxy* m_messagingProxy;

Powered by Google App Engine
This is Rietveld 408576698