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

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

Issue 2745063005: Remove document.rootScroller compositing clipping effects. (Closed)
Patch Set: Fix 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/RootScrollerController.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp
index 5c086312d890f9b33f5fe43964c128e1ec5add5d..1916ed23ae6e93289b4d424fec1c23113f7e5d87 100644
--- a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp
@@ -105,23 +105,8 @@ void RootScrollerController::recomputeEffectiveRootScroller() {
return;
}
- PaintLayer* oldRootScrollerLayer = rootScrollerPaintLayer();
-
m_effectiveRootScroller = newEffectiveRootScroller;
- // This change affects both the old and new layers.
- if (oldRootScrollerLayer)
- oldRootScrollerLayer->setNeedsCompositingInputsUpdate();
- if (rootScrollerPaintLayer())
- rootScrollerPaintLayer()->setNeedsCompositingInputsUpdate();
-
- // The above may not be enough as we need to update existing ancestor
- // GraphicsLayers. This will force us to rebuild the GraphicsLayer tree.
- if (LayoutView* layoutView = m_document->layoutView()) {
- layoutView->compositor()->setNeedsCompositingUpdate(
- CompositingUpdateRebuildTree);
- }
-
if (Page* page = m_document->page())
page->globalRootScrollerController().didChangeRootScroller();
}

Powered by Google App Engine
This is Rietveld 408576698