| Index: third_party/WebKit/Source/core/workers/ThreadedWorklet.h
|
| diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorklet.h b/third_party/WebKit/Source/core/workers/ThreadedWorklet.h
|
| index bb418d1ba039784b3c7feb310c1bdbbc179e78fe..9dc642145d8f7a9b4b21c47930fc9631d650aa3d 100644
|
| --- a/third_party/WebKit/Source/core/workers/ThreadedWorklet.h
|
| +++ b/third_party/WebKit/Source/core/workers/ThreadedWorklet.h
|
| @@ -15,6 +15,7 @@
|
| namespace blink {
|
|
|
| class LocalFrame;
|
| +class WorkletGlobalScopeProxy;
|
|
|
| // A ThreadedWorklet is a worklet that runs off the main thread.
|
| // TODO(nhiroki): This is a temporary class to keep classic script loading for
|
| @@ -39,6 +40,9 @@ class CORE_EXPORT ThreadedWorklet : public Worklet,
|
| // ContextLifecycleObserver
|
| void ContextDestroyed(ExecutionContext*) final;
|
|
|
| + // Returns a proxy to WorkletGlobalScope on the context thread.
|
| + virtual WorkletGlobalScopeProxy* GetWorkletGlobalScopeProxy() const = 0;
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
|
|