| Index: third_party/WebKit/Source/core/animation/AnimationClock.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/AnimationClock.cpp b/third_party/WebKit/Source/core/animation/AnimationClock.cpp
|
| index 761be632caa70cb27e4641ef22bfa425cd7b838d..3dad64fc7b22945148146d673445457bae08a30a 100644
|
| --- a/third_party/WebKit/Source/core/animation/AnimationClock.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/AnimationClock.cpp
|
| @@ -52,7 +52,8 @@ void AnimationClock::updateTime(double time) {
|
| }
|
|
|
| double AnimationClock::currentTime() {
|
| - if (m_taskForWhichTimeWasCalculated != s_currentlyRunningTask) {
|
| + if (m_monotonicallyIncreasingTime &&
|
| + m_taskForWhichTimeWasCalculated != s_currentlyRunningTask) {
|
| const double currentTime = m_monotonicallyIncreasingTime();
|
| if (m_time < currentTime) {
|
| // Advance to the first estimated frame after the current time.
|
|
|