| Index: Source/core/page/PageAnimator.cpp
|
| diff --git a/Source/core/page/PageAnimator.cpp b/Source/core/page/PageAnimator.cpp
|
| index c2255481bb51838a961950b138e3f22151e50ae0..33b2d8365e336c68681c12392a40b464b532858b 100644
|
| --- a/Source/core/page/PageAnimator.cpp
|
| +++ b/Source/core/page/PageAnimator.cpp
|
| @@ -41,6 +41,10 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
|
|
|
| for (size_t i = 0; i < documents.size(); ++i)
|
| documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime);
|
| +
|
| + // Frame callbacks might have started new players or caused existing players to become outdated.
|
| + for (size_t i = 0; i < documents.size(); ++i)
|
| + DocumentAnimations::updateOutdatedAnimationPlayersAfterFrameCallbacks(*documents[i]);
|
| }
|
|
|
| void PageAnimator::scheduleVisualUpdate()
|
|
|