Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Unified Diff: third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h

Issue 2571753002: WindowAnimationWorklet should use ContextLifecycleObserver instead of DOMWindowProperty (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c2a3f40086b83fa989a0d9dab5f86852e12167d9 100644
--- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
+++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h
@@ -5,7 +5,6 @@
#ifndef WindowAnimationWorklet_h
#define WindowAnimationWorklet_h
-#include "core/frame/DOMWindowProperty.h"
#include "modules/ModulesExport.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
@@ -19,16 +18,13 @@ class Worklet;
class MODULES_EXPORT WindowAnimationWorklet final
: public GarbageCollected<WindowAnimationWorklet>,
- public Supplement<LocalDOMWindow>,
- public DOMWindowProperty {
+ public Supplement<LocalDOMWindow> {
USING_GARBAGE_COLLECTED_MIXIN(WindowAnimationWorklet);
public:
static WindowAnimationWorklet& from(LocalDOMWindow&);
static Worklet* animationWorklet(DOMWindow&);
- AnimationWorklet* animationWorklet();
-
- void frameDestroyed() override;
+ AnimationWorklet* animationWorklet(LocalDOMWindow&);
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698