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

Unified Diff: Source/core/animation/css/CSSAnimations.cpp

Issue 961993003: Web Animations: Fix Player's timing update when source content becomes longer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 5 years, 10 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/AnimationPlayer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/css/CSSAnimations.cpp
diff --git a/Source/core/animation/css/CSSAnimations.cpp b/Source/core/animation/css/CSSAnimations.cpp
index 8510439c1d80502d7f90d25c0777acd4e1c8dd89..80af97a25fe71cc233e4897b2b7b9ef0d194bb7c 100644
--- a/Source/core/animation/css/CSSAnimations.cpp
+++ b/Source/core/animation/css/CSSAnimations.cpp
@@ -289,7 +289,7 @@ void CSSAnimations::calculateAnimationUpdate(CSSAnimationUpdate* update, const E
ASSERT(!isAnimationStyleChange);
update->updateAnimation(animationName, player, InertAnimation::create(
createKeyframeEffect(resolver, animatingElement, element, style, parentStyle, animationName, keyframeTimingFunction.get()),
- timing, isPaused, player->currentTimeInternal()), specifiedTiming, keyframesRule);
+ timing, isPaused, player->unlimitedCurrentTimeInternal()), specifiedTiming, keyframesRule);
}
if (isPaused != player->paused()) {
« no previous file with comments | « Source/core/animation/AnimationPlayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698