| Index: third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
|
| diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
|
| index 48fcea23e226f8b627a7e9ab1c1f3a6a83cff991..cd6e2beb6b9eab6a309d0f3d995177db72a841cc 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
|
| @@ -6,17 +6,14 @@
|
| #define WindowAnimationWorklet_h
|
|
|
| #include "core/dom/ContextLifecycleObserver.h"
|
| -#include "core/frame/LocalDOMWindow.h"
|
| #include "modules/ModulesExport.h"
|
| +#include "modules/compositorworker/AnimationWorklet.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class AnimationWorklet;
|
| -class DOMWindow;
|
| class LocalDOMWindow;
|
| -class Worklet;
|
|
|
| class MODULES_EXPORT WindowAnimationWorklet final
|
| : public GarbageCollected<WindowAnimationWorklet>,
|
| @@ -25,15 +22,15 @@ class MODULES_EXPORT WindowAnimationWorklet final
|
| USING_GARBAGE_COLLECTED_MIXIN(WindowAnimationWorklet);
|
|
|
| public:
|
| - static WindowAnimationWorklet& from(LocalDOMWindow&);
|
| - static Worklet* animationWorklet(DOMWindow&);
|
| - AnimationWorklet* animationWorklet(LocalDOMWindow&);
|
| + static AnimationWorklet* animationWorklet(LocalDOMWindow&);
|
|
|
| void contextDestroyed(ExecutionContext*) override;
|
|
|
| DECLARE_TRACE();
|
|
|
| private:
|
| + static WindowAnimationWorklet& from(LocalDOMWindow&);
|
| +
|
| explicit WindowAnimationWorklet(LocalDOMWindow&);
|
| static const char* supplementName();
|
|
|
|
|