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 b3dbc571cf36c00a066a3dc9cd9b77206bd88fdb..764b8d42fc187eb909305ce4b67a6cabf54a9746 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -1128,7 +1128,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/12 22:26:46
The purpose of this check is to pull the scrollbar
szager1
2016/08/12 22:44:31
As I understand it -- and this was all explained t
pdr.
2016/08/13 02:25:37
We do want to maintain the pinch/zoom behavior, bu
|
bottomLayer = layoutObject()->frame()->page()->frameHost().visualViewport().containerLayer(); |
updateBottomLayer(m_overflowControlsAncestorClippingLayer.get()); |
updateBottomLayer(m_overflowControlsHostLayer.get()); |