| 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 183c283f6643d581e622967a72eaaa90dd9ddf8c..eb726420cbc1875906cfa07786894f8bce737bf7 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1366,16 +1366,6 @@ void CompositedLayerMapping::updateScrollingLayerGeometry(
|
| IntRect overflowClipRect =
|
| pixelSnappedIntRect(layoutBox.overflowClipRect(LayoutPoint()));
|
|
|
| - const TopDocumentRootScrollerController& globalRootScrollerController =
|
| - layoutBox.document().page()->globalRootScrollerController();
|
| -
|
| - if (&m_owningLayer == globalRootScrollerController.rootScrollerPaintLayer()) {
|
| - LayoutRect clipRect =
|
| - layoutBox.document().layoutView()->overflowClipRect(LayoutPoint());
|
| - DCHECK(clipRect.size() == LayoutSize(pixelSnappedIntRect(clipRect).size()));
|
| - overflowClipRect.setSize(pixelSnappedIntRect(clipRect).size());
|
| - }
|
| -
|
| // When a m_childTransformLayer exists, local content offsets for the
|
| // m_scrollingLayer have already been applied. Otherwise, we apply them here.
|
| IntSize localContentOffset(0, 0);
|
|
|