| 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 b7ed656d74a80e1f7942872ad72f305004e7f4b1..8dd0dbed3788300c03c57402df6fc5888679721f 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1590,13 +1590,10 @@ void CompositedLayerMapping::updateInternalHierarchy() {
|
| // 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();
|
| + !RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
|
| + bottomLayer =
|
| + layoutObject().frame()->page()->visualViewport().containerLayer();
|
| + }
|
| updateBottomLayer(m_overflowControlsAncestorClippingLayer.get());
|
| updateBottomLayer(m_overflowControlsHostLayer.get());
|
| if (m_layerForHorizontalScrollbar)
|
|
|