| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| index 3aebdb015ba5d79b3be75e957783632aca2f0e8b..14e62686753dcb589c5f4f65f594378517cdef59 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -607,15 +607,6 @@ void PaintLayerCompositor::updateContainerSizes() {
|
| return;
|
|
|
| FrameView* frameView = m_layoutView.frameView();
|
| -
|
| - const TopDocumentRootScrollerController& globalRootScrollerController =
|
| - m_layoutView.document().page()->globalRootScrollerController();
|
| -
|
| - // The global root scroller must always size to the root FrameView.
|
| - if (rootLayer() &&
|
| - rootLayer() == globalRootScrollerController.rootScrollerPaintLayer())
|
| - frameView = m_layoutView.document().topDocument().view();
|
| -
|
| m_containerLayer->setSize(FloatSize(frameView->visibleContentSize()));
|
| m_overflowControlsHostLayer->setSize(
|
| FloatSize(frameView->visibleContentSize(IncludeScrollbars)));
|
|
|