Index: Source/core/page/PageAnimator.cpp |
diff --git a/Source/core/page/PageAnimator.cpp b/Source/core/page/PageAnimator.cpp |
index 9e3c481193216d8ca058e4ac3af0612393284bf9..c0f42bb69d9dc9cec56d255ebfbf0551a4710146 100644 |
--- a/Source/core/page/PageAnimator.cpp |
+++ b/Source/core/page/PageAnimator.cpp |
@@ -25,7 +25,9 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime) |
for (RefPtr<Frame> frame = m_page->mainFrame(); frame; frame = frame->tree().traverseNext()) { |
frame->view()->serviceScrollAnimations(); |
- DocumentAnimations::serviceOnAnimationFrame(*frame->document(), monotonicAnimationStartTime); |
+ DocumentAnimations::updateAnimationTimingForAnimationFrame(*frame->document(), monotonicAnimationStartTime); |
+ // FIXME: animation event dispatch should move to the ScriptedAnimationController |
+ DocumentAnimations::dispatchAnimationEvents(*frame->document()); |
} |
Vector<RefPtr<Document> > documents; |