Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp

Issue 2750463005: Remove top controls clipping adjustment for document.rootScroller (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698