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

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

Issue 330513002: Disentangle updating the ScrollingCoordinator from RenderLayerCompositor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix assert Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 435e97d6ac56d24c511d203ed434af4c0ae6d92a..060b1587d439f485b2557b0e3d6b4e93227b9769 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -2832,7 +2832,12 @@ void FrameView::updateLayoutAndStyleForPainting()
if (RenderView* view = renderView()) {
InspectorInstrumentation::willUpdateLayerTree(view->frame());
+
view->compositor()->updateIfNeededRecursive();
+
+ if (view->compositor()->inCompositingMode() && m_frame->isMainFrame())
+ m_frame->page()->scrollingCoordinator()->updateAfterCompositingChangeIfNeeded();
+
InspectorInstrumentation::didUpdateLayerTree(view->frame());
}
« no previous file with comments | « no previous file | Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698