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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Created 4 years, 4 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 9fa0a8e32d6fdd95aeccbb84c1e4ee9423d139bb..47d5a5242b24ab8fc06c51861a756f9a0bbaa4d0 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -161,6 +161,7 @@ PaintLayer::PaintLayer(LayoutBoxModelObject* layoutObject)
, m_hasDescendantWithClipPath(false)
, m_hasNonIsolatedDescendantWithBlendMode(false)
, m_hasAncestorWithClipPath(false)
+ , m_hasRootScrollerAsDescendant(false)
, m_layoutObject(layoutObject)
, m_parent(0)
, m_previous(0)
@@ -977,10 +978,11 @@ void PaintLayer::updateAncestorDependentCompositingInputs(const AncestorDependen
m_needsAncestorDependentCompositingInputsUpdate = false;
}
-void PaintLayer::updateDescendantDependentCompositingInputs(bool hasDescendantWithClipPath, bool hasNonIsolatedDescendantWithBlendMode)
+void PaintLayer::updateDescendantDependentCompositingInputs(bool hasDescendantWithClipPath, bool hasNonIsolatedDescendantWithBlendMode, bool hasRootScrollerAsDescendant)
{
m_hasDescendantWithClipPath = hasDescendantWithClipPath;
m_hasNonIsolatedDescendantWithBlendMode = hasNonIsolatedDescendantWithBlendMode;
+ m_hasRootScrollerAsDescendant = hasRootScrollerAsDescendant;
m_needsDescendantDependentCompositingInputsUpdate = false;
}

Powered by Google App Engine
This is Rietveld 408576698