| 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 cd7daeee719c9f8b38ff22a07384a8e89001448a..4a8ad03bf6a391e04d339a3ff67f901e0ad52cd4 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());
|
| }
|
|
|