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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.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/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 2a663e42c40c2e5c88755e376349bb12860bf228..abd609c8f6e5c374e79065e6f3e944837b4054fa 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -68,7 +68,6 @@
#include "core/layout/svg/LayoutSVGResourceClipper.h"
#include "core/layout/svg/LayoutSVGRoot.h"
#include "core/page/Page.h"
-#include "core/page/scrolling/RootScrollerController.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/paint/BoxReflectionUtils.h"
#include "core/paint/FilterEffectBuilder.h"
@@ -156,7 +155,6 @@ PaintLayer::PaintLayer(LayoutBoxModelObject& layoutObject)
m_hasDescendantWithClipPath(false),
m_hasNonIsolatedDescendantWithBlendMode(false),
m_hasAncestorWithClipPath(false),
- m_hasRootScrollerAsDescendant(false),
m_selfPaintingStatusChanged(false),
m_layoutObject(layoutObject),
m_parent(0),
@@ -674,7 +672,6 @@ void PaintLayer::updateDescendantDependentFlags() {
m_hasVisibleDescendant = false;
m_hasNonIsolatedDescendantWithBlendMode = false;
m_hasDescendantWithClipPath = false;
- m_hasRootScrollerAsDescendant = false;
for (PaintLayer* child = firstChild(); child;
child = child->nextSibling()) {
@@ -690,13 +687,6 @@ void PaintLayer::updateDescendantDependentFlags() {
m_hasDescendantWithClipPath |= child->hasDescendantWithClipPath() ||
child->layoutObject().hasClipPath();
-
- m_hasRootScrollerAsDescendant |= child->hasRootScrollerAsDescendant() ||
- (child ==
- child->layoutObject()
- .document()
- .rootScrollerController()
- .rootScrollerPaintLayer());
}
if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled() &&
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/web/tests/RootScrollerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698