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

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

Issue 2571753002: WindowAnimationWorklet should use ContextLifecycleObserver instead of DOMWindowProperty (Closed)
Patch Set: temp 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698