| 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 9e3349f911a3dc0012a46c31b7498e15602f3d04..3635ec3a7ab8494afe6fb1485465cc0a322bbd5e 100644
|
| --- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
|
| +++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
|
| @@ -5,7 +5,7 @@
|
| #ifndef WindowAnimationWorklet_h
|
| #define WindowAnimationWorklet_h
|
|
|
| -#include "core/frame/DOMWindowProperty.h"
|
| +#include "core/dom/ContextLifecycleObserver.h"
|
| #include "modules/ModulesExport.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -20,15 +20,15 @@ class Worklet;
|
| class MODULES_EXPORT WindowAnimationWorklet final
|
| : public GarbageCollected<WindowAnimationWorklet>,
|
| public Supplement<LocalDOMWindow>,
|
| - public DOMWindowProperty {
|
| + public ContextLifecycleObserver {
|
| USING_GARBAGE_COLLECTED_MIXIN(WindowAnimationWorklet);
|
|
|
| public:
|
| static WindowAnimationWorklet& from(LocalDOMWindow&);
|
| static Worklet* animationWorklet(DOMWindow&);
|
| - AnimationWorklet* animationWorklet();
|
| + AnimationWorklet* animationWorklet(LocalDOMWindow&);
|
|
|
| - void frameDestroyed() override;
|
| + void contextDestroyed() override;
|
|
|
| DECLARE_TRACE();
|
|
|
|
|