Chromium Code Reviews

Unified Diff: Source/core/rendering/RenderLayerCompositor.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.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/rendering/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/RenderLayerCompositor.cpp b/Source/core/rendering/RenderLayerCompositor.cpp
index dd0f5fca28e8c8d912124e52b00b9fca40873164..876330a8547a7400b2d89230dba4f411c56d8855 100644
--- a/Source/core/rendering/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/RenderLayerCompositor.cpp
@@ -401,6 +401,7 @@ void RenderLayerCompositor::updateCompositingLayers()
return;
lifecycle().advanceTo(DocumentLifecycle::InCompositingUpdate);
+ DocumentAnimations::ServiceOnFrameEndScope animationScope(m_renderView->document());
DocumentLifecycle::Scope lifecycleScope(lifecycle(), DocumentLifecycle::CompositingClean);
if (isMainFrame() && m_renderView->frameView())
« Source/core/animation/css/CSSPendingAnimations.cpp ('K') | « Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine