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

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

Issue 1328723003: Rename KeyframeEffect::isAnimation to KeyframeEffect::isKeyframeEffect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/core/animation/AnimationEffect.cpp ('k') | Source/core/animation/KeyframeEffect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/ElementAnimations.cpp
diff --git a/Source/core/animation/ElementAnimations.cpp b/Source/core/animation/ElementAnimations.cpp
index 9124dc603f8cc824a0472eb3fccb25c9c9330e58..195b4fa0fa133479673be576efc42b21a279444d 100644
--- a/Source/core/animation/ElementAnimations.cpp
+++ b/Source/core/animation/ElementAnimations.cpp
@@ -50,7 +50,7 @@ void ElementAnimations::updateAnimationFlags(ComputedStyle& style)
const Animation& animation = *entry.key;
ASSERT(animation.effect());
// FIXME: Needs to consider AnimationGroup once added.
- ASSERT(animation.effect()->isAnimation());
+ ASSERT(animation.effect()->isKeyframeEffect());
const KeyframeEffect& effect = *toKeyframeEffect(animation.effect());
if (effect.isCurrent()) {
if (effect.affects(PropertyHandle(CSSPropertyOpacity)))
« no previous file with comments | « Source/core/animation/AnimationEffect.cpp ('k') | Source/core/animation/KeyframeEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698