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..f47cbbdd824352f79a568b4fa99f888d1eb1145d 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)) |
|
Timothy Loh
2013/10/18 06:01:27
Won't this only keep the last value?
shans
2013/10/21 00:37:57
Yeah. This point is where the next patch would kic
|
| m_players.remove(i); |
| } |