Index: Source/core/animation/DocumentAnimations.cpp |
diff --git a/Source/core/animation/DocumentAnimations.cpp b/Source/core/animation/DocumentAnimations.cpp |
index 86f9286295180e76595581b4ce58bb73698c1cfa..ac67bc881e8119f49b83aa0896b648494b643b80 100644 |
--- a/Source/core/animation/DocumentAnimations.cpp |
+++ b/Source/core/animation/DocumentAnimations.cpp |
@@ -60,6 +60,13 @@ void DocumentAnimations::updateAnimationTimingForAnimationFrame(Document& docume |
updateAnimationTiming(document); |
} |
+void DocumentAnimations::updateOutdatedAnimationPlayersAfterFrameCallbacks(Document& document) |
+{ |
+ if (document.timeline().hasOutdatedAnimationPlayer()) { |
+ updateAnimationTiming(document); |
+ } |
+} |
+ |
void DocumentAnimations::updateAnimationTimingForGetComputedStyle(Node& node, CSSPropertyID property) |
{ |
if (!node.isElementNode()) |