 Chromium Code Reviews
 Chromium Code Reviews Issue 135693003:
  Defer starting of animations until after compositing update  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk
    
  
    Issue 135693003:
  Defer starting of animations until after compositing update  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk| Index: Source/core/page/PageAnimator.cpp | 
| diff --git a/Source/core/page/PageAnimator.cpp b/Source/core/page/PageAnimator.cpp | 
| index 9e3c481193216d8ca058e4ac3af0612393284bf9..245e3a0be7f893ff45ca00106a3821644f40a49e 100644 | 
| --- a/Source/core/page/PageAnimator.cpp | 
| +++ b/Source/core/page/PageAnimator.cpp | 
| @@ -25,7 +25,8 @@ 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); | 
| + DocumentAnimations::dispatchAnimationEvents(*frame->document()); | 
| 
abarth-chromium
2014/02/24 06:14:08
Given that this function is dispatching events, do
 
dstockwell
2014/02/24 06:58:07
Will do. Looks like we can use the same collection
 | 
| } | 
| Vector<RefPtr<Document> > documents; |