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

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

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.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 722352becf6fc58e6e514082a7718b0e50d9d824..ad43b9fa89ac805c63f1718b203b520c6332e36e 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -709,10 +709,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
void updateAncestorDependentCompositingInputs(
const AncestorDependentCompositingInputs&,
bool hasAncestorWithClipPath);
- void updateDescendantDependentCompositingInputs(
- bool hasDescendantWithClipPath,
- bool hasNonIsolatedDescendantWithBlendMode,
- bool hasRootScrollerAsDescendant);
void didUpdateCompositingInputs();
const IntRect& clippedAbsoluteBoundingBox() const {
@@ -790,11 +786,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
// stacking contexts.
bool hasNonIsolatedDescendantWithBlendMode() const;
- bool hasRootScrollerAsDescendant() const {
- DCHECK(!m_needsDescendantDependentFlagsUpdate);
- return m_hasRootScrollerAsDescendant;
- }
-
bool lostGroupedMapping() const {
DCHECK(isAllowedToQueryCompositingState());
return m_lostGroupedMapping;
@@ -1206,7 +1197,6 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
unsigned m_hasDescendantWithClipPath : 1;
unsigned m_hasNonIsolatedDescendantWithBlendMode : 1;
unsigned m_hasAncestorWithClipPath : 1;
- unsigned m_hasRootScrollerAsDescendant : 1;
unsigned m_selfPaintingStatusChanged : 1;

Powered by Google App Engine
This is Rietveld 408576698