Index: Source/core/animation/AnimationClock.cpp |
diff --git a/Source/core/animation/AnimationClock.cpp b/Source/core/animation/AnimationClock.cpp |
index b0de58738c3fefc466c21104ddff70ac17c1c480..9b6f139d6fdb40cd051b6a8823e8313fe0c67042 100644 |
--- a/Source/core/animation/AnimationClock.cpp |
+++ b/Source/core/animation/AnimationClock.cpp |
@@ -72,9 +72,9 @@ double AnimationClock::currentTime() |
return m_time; |
} |
-void AnimationClock::resetTimeForTesting() |
+void AnimationClock::resetTimeForTesting(double time) |
{ |
- m_time = 0; |
+ m_time = time; |
m_currentTask = 0; |
s_currentTask = 0; |
} |