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

Unified Diff: third_party/WebKit/Source/core/animation/Animation.cpp

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 months 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/core/animation/Animation.cpp
diff --git a/third_party/WebKit/Source/core/animation/Animation.cpp b/third_party/WebKit/Source/core/animation/Animation.cpp
index 06bdc8267f8cc1d9015035b3e6159ce21d4ebe15..5ec63aabafdd3d31fa915bed8dfd3e2176086b06 100644
--- a/third_party/WebKit/Source/core/animation/Animation.cpp
+++ b/third_party/WebKit/Source/core/animation/Animation.cpp
@@ -653,7 +653,7 @@ bool Animation::hasPendingActivity() const {
(!m_finished && hasEventListeners(EventTypeNames::finish));
}
-void Animation::stop() {
+void Animation::contextDestroyed() {
PlayStateUpdateScope updateScope(*this, TimingUpdateOnDemand);
m_finished = true;

Powered by Google App Engine
This is Rietveld 408576698