Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(945)

Unified Diff: Source/core/frame/FrameView.cpp

Issue 135693003: Defer starting of animations until after compositing update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Advance animation clock after minimum delay. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 1cf99805ed20d25bdcf2564838ead43e1bdab5f3..bb7aa0850762dfa0d9dbeaf2e9b36e4807d57fdf 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -1887,7 +1887,7 @@ void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime)
for (RefPtr<Frame> frame = m_frame; frame; frame = frame->tree().traverseNext()) {
frame->view()->serviceScrollAnimations();
- DocumentAnimations::serviceOnAnimationFrame(*frame->document(), monotonicAnimationStartTime);
+ DocumentAnimations::serviceOnFrameStart(*frame->document(), monotonicAnimationStartTime);
}
Vector<RefPtr<Document> > documents;

Powered by Google App Engine
This is Rietveld 408576698