| 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..c070f17b691aaa55202e27bd01b0c065aeb2c101 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1136,7 +1136,9 @@ void CompositedLayerMapping::updateInternalHierarchy()
|
|
|
| // Now constructing the subtree for the overflow controls.
|
| bottomLayer = m_graphicsLayer.get();
|
| - if (m_isMainFrameLayoutViewLayer)
|
| + // TODO(pdr): Ensure painting uses the correct GraphicsLayer when root layer scrolls is enabled.
|
| + // crbug.com/638719
|
| + if (m_isMainFrameLayoutViewLayer && !RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| bottomLayer = layoutObject()->frame()->page()->frameHost().visualViewport().containerLayer();
|
| updateBottomLayer(m_overflowControlsAncestorClippingLayer.get());
|
| updateBottomLayer(m_overflowControlsHostLayer.get());
|
|
|