| Index: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
|
| diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
|
| index bae8ae051ad2b5590e6bc18f6eb68dd5a0bfd137..3c88fe63c4d26bbedfe1f0b2b3fb128cbda15da0 100644
|
| --- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
|
| +++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
|
| @@ -45,6 +45,7 @@ namespace blink {
|
| class ConsoleMessage;
|
| class ExecutionContext;
|
| class InProcessWorkerMessagingProxy;
|
| +class ParentFrameTaskRunners;
|
| class WorkerGlobalScope;
|
| class WorkerOrWorkletGlobalScope;
|
|
|
| @@ -85,7 +86,6 @@ class CORE_EXPORT InProcessWorkerObjectProxy : public WorkerReportingProxy {
|
| const String& message,
|
| SourceLocation*) override;
|
| void postMessageToPageInspector(const String&) override;
|
| - ParentFrameTaskRunners* getParentFrameTaskRunners() override;
|
| void didCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) override;
|
| void didEvaluateWorkerScript(bool success) override;
|
| void didCloseWorkerGlobalScope() override;
|
| @@ -94,7 +94,10 @@ class CORE_EXPORT InProcessWorkerObjectProxy : public WorkerReportingProxy {
|
|
|
| protected:
|
| InProcessWorkerObjectProxy(const WeakPtr<InProcessWorkerMessagingProxy>&);
|
| +
|
| + // 'virtual' for testing.
|
| virtual ExecutionContext* getExecutionContext();
|
| + virtual ParentFrameTaskRunners* getParentFrameTaskRunners();
|
|
|
| private:
|
| friend class InProcessWorkerMessagingProxyForTest;
|
|
|