| Index: third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h
|
| diff --git a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h
|
| index 34e5c21a2ecb14b3e75d0ed2193810a804571e36..51dcee08213fc04964e8c48cdf88179124f33b7c 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/AnimationWorklet.h
|
| @@ -11,13 +11,14 @@
|
|
|
| namespace blink {
|
|
|
| +class LocalFrame;
|
| class ThreadedWorkletGlobalScopeProxy;
|
| class WorkletGlobalScopeProxy;
|
|
|
| class MODULES_EXPORT AnimationWorklet final : public Worklet {
|
| WTF_MAKE_NONCOPYABLE(AnimationWorklet);
|
| public:
|
| - static AnimationWorklet* create(ExecutionContext*);
|
| + static AnimationWorklet* create(LocalFrame*);
|
| ~AnimationWorklet() override;
|
|
|
| WorkletGlobalScopeProxy* workletGlobalScopeProxy() const final;
|
| @@ -25,7 +26,7 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - AnimationWorklet(ExecutionContext*);
|
| + explicit AnimationWorklet(LocalFrame*);
|
|
|
| // TODO(ikilpatrick): this will change to a raw ptr once we have a thread.
|
| std::unique_ptr<ThreadedWorkletGlobalScopeProxy> m_workletGlobalScopeProxy;
|
|
|