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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.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/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)));

Powered by Google App Engine
This is Rietveld 408576698