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

Unified Diff: Source/core/rendering/animation/WebAnimationProvider.cpp

Issue 24085002: Correctly apply per-keyframe timing functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/frame/animation/KeyframeAnimation.cpp ('k') | Source/core/rendering/style/KeyframeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/animation/WebAnimationProvider.cpp
diff --git a/Source/core/rendering/animation/WebAnimationProvider.cpp b/Source/core/rendering/animation/WebAnimationProvider.cpp
index 01d551209903207d6951b8eff29b05f6a9621a9f..473e3ff8073d8d63b8b83cfa06ac5bd9de0ece9c 100644
--- a/Source/core/rendering/animation/WebAnimationProvider.cpp
+++ b/Source/core/rendering/animation/WebAnimationProvider.cpp
@@ -139,7 +139,7 @@ WebAnimations WebAnimationProvider::startAnimation(double timeOffset, const CSSA
continue;
// Get timing function.
- RefPtr<TimingFunction> tf = KeyframeValue::timingFunction(keyframeStyle, keyframes.animationName());
+ RefPtr<TimingFunction> tf = KeyframeValue::timingFunction(*keyframeStyle);
bool isFirstOrLastKeyframe = !key || key == 1;
if ((hasTransform && isFirstOrLastKeyframe) || currentKeyframe.containsProperty(CSSPropertyWebkitTransform))
« no previous file with comments | « Source/core/frame/animation/KeyframeAnimation.cpp ('k') | Source/core/rendering/style/KeyframeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698