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

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

Issue 279493003: Web Animations: Fix error in clock update logic and re-enable timeline-time test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « LayoutTests/web-animations-api/timeline-time.html ('k') | Source/core/animation/AnimationClockTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationClock.cpp
diff --git a/Source/core/animation/AnimationClock.cpp b/Source/core/animation/AnimationClock.cpp
index 3faae36ec8297090a7c285fa5f9ed8c245a23b71..6afcc6f8e089954cf5e96a6842312ae8e7c289fc 100644
--- a/Source/core/animation/AnimationClock.cpp
+++ b/Source/core/animation/AnimationClock.cpp
@@ -64,6 +64,8 @@ double AnimationClock::currentTime()
ASSERT(newTime >= currentTime);
ASSERT(newTime <= currentTime + approximateFrameTime);
updateTime(newTime);
+ } else {
+ m_currentTask = s_currentTask;
}
}
return m_time;
« no previous file with comments | « LayoutTests/web-animations-api/timeline-time.html ('k') | Source/core/animation/AnimationClockTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698