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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 134443003: Implement CSSOM Smooth Scroll API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/core/rendering/RenderTextControlSingleLine.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
index 69fa42c6204dab39b73542a8e0ee3fca55ea996a..8492899f6ae2a46950534b8f5f4b85de67108c39 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -994,6 +994,7 @@ void RenderLayerCompositor::ensureRootLayer()
m_scrollLayer->addChild(m_rootContentLayer.get());
frameViewDidChangeSize();
+ m_renderView.frameView()->layerForScrollingDidChange();
}
// Check to see if we have to change the attachment
@@ -1044,6 +1045,7 @@ void RenderLayerCompositor::destroyRootLayer()
m_overflowControlsHostLayer = nullptr;
m_containerLayer = nullptr;
m_scrollLayer = nullptr;
+ m_renderView.frameView()->layerForScrollingDidChange();
}
ASSERT(!m_scrollLayer);
m_rootContentLayer = nullptr;
« no previous file with comments | « Source/core/rendering/RenderTextControlSingleLine.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698