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

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

Issue 2388693002: Make DOMWindowProperty a thin wrapper of ContextLifecycleObserver
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
Index: third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
index 3512051bf191613a1f4e16497cccfa9af04b78cf..75c405e5d5bd218f4eaee01379d17286cb19f179 100644
--- a/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp
@@ -39,9 +39,9 @@ AnimationWorklet* WindowAnimationWorklet::animationWorklet() {
return m_animationWorklet.get();
}
-void WindowAnimationWorklet::frameDestroyed() {
+void WindowAnimationWorklet::contextDestroyed() {
m_animationWorklet.clear();
- DOMWindowProperty::frameDestroyed();
+ DOMWindowProperty::contextDestroyed();
}
DEFINE_TRACE(WindowAnimationWorklet) {

Powered by Google App Engine
This is Rietveld 408576698