Index: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
diff --git a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
index 7c1c86b7491fdb7185a5373c5cb3f17eb87c8a9b..3a2c3683122e2867aee88aab8fefe3fec6ada5e3 100644 |
--- a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
+++ b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
@@ -30,7 +30,6 @@ |
#include "core/HTMLNames.h" |
#include "core/dom/DOMNodeIds.h" |
#include "core/fetch/ImageResource.h" |
-#include "core/frame/FrameHost.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/RemoteFrame.h" |
#include "core/html/HTMLCanvasElement.h" |
@@ -1062,8 +1061,6 @@ |
// Now constructing the subtree for the overflow controls. |
bottomLayer = m_graphicsLayer.get(); |
- if (m_isMainFrameLayoutViewLayer) |
- bottomLayer = layoutObject()->frame()->page()->frameHost().visualViewport().containerLayer(); |
updateBottomLayer(m_overflowControlsClippingLayer.get()); |
updateBottomLayer(m_overflowControlsHostLayer.get()); |
if (m_layerForHorizontalScrollbar) |