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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp

Issue 2244873002: Fix PaintPropertyTreeBuilder for root layer scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@rls-enable
Patch Set: Disabled exact geometry checks when RLS is enabled Created 4 years, 4 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: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index 6248097b19031e13208183b785a026fa7d0538de..f887e290dd1141a729945c551700aecd4152ae57 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -1136,7 +1136,7 @@ void CompositedLayerMapping::updateInternalHierarchy()
// Now constructing the subtree for the overflow controls.
bottomLayer = m_graphicsLayer.get();
- if (m_isMainFrameLayoutViewLayer)
+ if (m_isMainFrameLayoutViewLayer && !RuntimeEnabledFeatures::slimmingPaintV2Enabled())
skobes 2016/08/17 01:38:24 This still makes me nervous but if the paint team
pdr. 2016/08/17 04:30:41 I agree but we just aren't far enough along to blo
trchen 2016/08/17 05:57:47 I think this line is totally fine. The long term g
bottomLayer = layoutObject()->frame()->page()->frameHost().visualViewport().containerLayer();
updateBottomLayer(m_overflowControlsAncestorClippingLayer.get());
updateBottomLayer(m_overflowControlsHostLayer.get());

Powered by Google App Engine
This is Rietveld 408576698