Chromium Code Reviews| Index: Source/core/animation/DocumentTimeline.cpp |
| diff --git a/Source/core/animation/DocumentTimeline.cpp b/Source/core/animation/DocumentTimeline.cpp |
| index 6d70413a71a0f92f4ac912b43b55293844afe084..6236e5ead4ded98fd802bb0eceaa520e15e56690 100644 |
| --- a/Source/core/animation/DocumentTimeline.cpp |
| +++ b/Source/core/animation/DocumentTimeline.cpp |
| @@ -74,8 +74,9 @@ void DocumentTimeline::serviceAnimations(double monotonicAnimationStartTime) |
| m_currentTime = monotonicAnimationStartTime - m_zeroTimeAsPerfTime; |
| } |
| + double timeToNextEffect = -1; |
| for (int i = m_players.size() - 1; i >= 0; --i) { |
| - if (!m_players[i]->update()) |
| + if (!m_players[i]->update(&timeToNextEffect)) |
|
dstockwell
2013/10/21 01:51:31
We could just not pass a param here. But I guess t
|
| m_players.remove(i); |
| } |