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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 2750463005: Remove top controls clipping adjustment for document.rootScroller (Closed)
Patch Set: Fix for root layer scrolling tests 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 3aebdb015ba5d79b3be75e957783632aca2f0e8b..14e62686753dcb589c5f4f65f594378517cdef59 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -607,15 +607,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