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

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

Issue 73643004: Web Animations: Extract an API for servicing animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 1 month 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 | « Source/core/animation/Animation.h ('k') | Source/core/animation/DocumentAnimations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Animation.cpp
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp
index fe4fb13c5b4b13f9d08faf348c8fdb7b42229ef3..a0c3904be8f622e7bb10a1fa02bcf8a5704bfa0a 100644
--- a/Source/core/animation/Animation.cpp
+++ b/Source/core/animation/Animation.cpp
@@ -181,9 +181,8 @@ void Animation::cancelAnimationOnCompositor()
return;
if (!m_target || !m_target->renderer())
return;
- for (size_t i = 0; i < m_compositorAnimationIds.size(); ++i) {
+ for (size_t i = 0; i < m_compositorAnimationIds.size(); ++i)
CompositorAnimations::instance()->cancelAnimationOnCompositor(*m_target.get(), m_compositorAnimationIds[i]);
- }
m_compositorAnimationIds.clear();
}
« no previous file with comments | « Source/core/animation/Animation.h ('k') | Source/core/animation/DocumentAnimations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698