| Index: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| index f6dc1e7f56e0c726c85a0cf3fd6428613df4a76e..d6a65c770219ee98273d7333abf54ce700554e4a 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
|
| @@ -42,25 +42,6 @@ void TopDocumentRootScrollerController::didChangeRootScroller() {
|
| recomputeGlobalRootScroller();
|
| }
|
|
|
| -void TopDocumentRootScrollerController::mainFrameViewResized() {
|
| - Element* rootScroller = globalRootScroller();
|
| -
|
| - ScrollableArea* area =
|
| - RootScrollerUtil::scrollableAreaForRootScroller(rootScroller);
|
| -
|
| - if (!area)
|
| - return;
|
| -
|
| - if (PaintLayer* layer = area->layer()) {
|
| - layer->setNeedsCompositingInputsUpdate();
|
| -
|
| - // This is needed if the root scroller is an iframe, since the iframe
|
| - // doesn't have a scrolling/clip layer, its PLC has a container layer that
|
| - // needs to be resized instead.
|
| - layer->compositor()->frameViewDidChangeSize();
|
| - }
|
| -}
|
| -
|
| ScrollableArea* TopDocumentRootScrollerController::rootScrollerArea() const {
|
| return RootScrollerUtil::scrollableAreaForRootScroller(globalRootScroller());
|
| }
|
|
|