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() && |