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

Unified Diff: Source/core/rendering/RenderLayer.h

Issue 310543002: Remove RenderLayer::m_hasUnclippedDescendant (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo Created 6 years, 7 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index b4a61f877a893a75603efc39ed367b86fe7f28f7..fbce10344318495473b73d5cb36b0815a5d79f48 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -212,13 +212,10 @@ public:
void setHasOutOfFlowPositionedDescendant(bool hasDescendant) { m_hasOutOfFlowPositionedDescendant = hasDescendant; }
void setHasOutOfFlowPositionedDescendantDirty(bool dirty) { m_hasOutOfFlowPositionedDescendantDirty = dirty; }
-
- bool hasUnclippedDescendant() const { return m_hasUnclippedDescendant; }
- void setHasUnclippedDescendant(bool hasDescendant) { m_hasUnclippedDescendant = hasDescendant; }
- void updateHasUnclippedDescendant();
+ void updateIsUnclippedDescendant();
bool isUnclippedDescendant() const { return m_isUnclippedDescendant; }
- // Will ensure that hasUnclippedDescendant and hasNonCompositiedChild are up to date.
+ // Will ensure that hasNonCompositiedChild are up to date.
void updateScrollingStateAfterCompositingChange();
bool hasVisibleNonLayerContent() const { return m_hasVisibleNonLayerContent; }
bool hasNonCompositedChild() const { ASSERT(isAllowedToQueryCompositingState()); return m_hasNonCompositedChild; }
@@ -643,12 +640,6 @@ private:
unsigned m_hasOutOfFlowPositionedDescendant : 1;
unsigned m_hasOutOfFlowPositionedDescendantDirty : 1;
- // This is true if we have an out-of-flow positioned descendant whose
- // containing block is our ancestor. If this is the case, the descendant
- // may fall outside of our clip preventing things like opting into
- // composited scrolling (which causes clipping of all descendants).
- unsigned m_hasUnclippedDescendant : 1;
-
unsigned m_isUnclippedDescendant : 1;
const unsigned m_isRootLayer : 1;
« no previous file with comments | « no previous file | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698