| 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 6d1f93cb3929f5fc1fb886b2e56d0111ea195f17..3a801acee7738b4b2f523375b1ee1078a1f9cb7d 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -606,15 +606,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)));
|
|
|