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

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

Issue 46043014: Web Animations CSS: Unfreeze AnimationClock if sampling timelines does not trigger style recalc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reinstate assert 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
Index: Source/core/animation/PlayerTest.cpp
diff --git a/Source/core/animation/PlayerTest.cpp b/Source/core/animation/PlayerTest.cpp
index 5296d2f6d2b9739545f16348cd411dcded7a6a70..cf87c6bdd7483f82b4374a0cfd00f21faaa7999c 100644
--- a/Source/core/animation/PlayerTest.cpp
+++ b/Source/core/animation/PlayerTest.cpp
@@ -56,7 +56,7 @@ protected:
bool updateTimeline(double time, double* timeToEffectChange = 0)
{
- timeline->serviceAnimations(time);
+ document->animationClock().updateTime(time);
// The timeline does not know about our player, so we have to explicitly call update().
return player->update(timeToEffectChange);
}

Powered by Google App Engine
This is Rietveld 408576698