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

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

Issue 322163003: Rename AncestorDependentProperties to CompositingInputs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar renaming Created 6 years, 6 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 | « Source/core/frame/FrameView.cpp ('k') | 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 2f98fd77523e257f15ed8aa7c90a89f90e6357a1..abf4deab6a2e48c748555cf5461ce05f95bdc5c5 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -439,9 +439,9 @@ public:
CompositingReasons styleDeterminedCompositingReasons() const { return m_styleDeterminedCompositingReasons; }
void setStyleDeterminedCompositingReasons(CompositingReasons reasons) { ASSERT(reasons == (reasons & CompositingReasonComboAllStyleDeterminedReasons)); m_styleDeterminedCompositingReasons = reasons; }
- class AncestorDependentProperties {
+ class CompositingInputs {
public:
- AncestorDependentProperties()
+ CompositingInputs()
: opacityAncestor(0)
, transformAncestor(0)
, filterAncestor(0)
@@ -455,17 +455,17 @@ public:
unsigned isUnclippedDescendant : 1;
};
- void setNeedsToUpdateAncestorDependentProperties();
- bool childNeedsToUpdateAncestorDependantProperties() const { return m_childNeedsToUpdateAncestorDependantProperties; }
- bool needsToUpdateAncestorDependentProperties() const { return m_needsToUpdateAncestorDependentProperties; }
+ void setNeedsCompositingInputsUpdate();
+ bool childNeedsCompositingInputsUpdate() const { return m_childNeedsCompositingInputsUpdate; }
+ bool needsCompositingInputsUpdate() const { return m_needsCompositingInputsUpdate; }
- void updateAncestorDependentProperties(const AncestorDependentProperties&);
- void clearChildNeedsToUpdateAncestorDependantProperties();
+ void updateCompositingInputs(const CompositingInputs&);
+ void clearChildNeedsCompositingInputsUpdate();
- const AncestorDependentProperties& ancestorDependentProperties() const { ASSERT(!m_needsToUpdateAncestorDependentProperties); return m_ancestorDependentProperties; }
+ const CompositingInputs& compositingInputs() const { ASSERT(!m_needsCompositingInputsUpdate); return m_compositingInputs; }
// FIXME: Remove this function.
- bool potentiallyStaleIsUnclippedDescendant() const { return m_ancestorDependentProperties.isUnclippedDescendant; }
+ bool potentiallyStaleIsUnclippedDescendant() const { return m_compositingInputs.isUnclippedDescendant; }
bool lostGroupedMapping() const { ASSERT(isAllowedToQueryCompositingState()); return m_lostGroupedMapping; }
void setLostGroupedMapping(bool b) { m_lostGroupedMapping = b; }
@@ -647,8 +647,8 @@ private:
const unsigned m_canSkipRepaintRectsUpdateOnScroll : 1;
unsigned m_hasFilterInfo : 1;
- unsigned m_needsToUpdateAncestorDependentProperties : 1;
- unsigned m_childNeedsToUpdateAncestorDependantProperties : 1;
+ unsigned m_needsCompositingInputsUpdate : 1;
+ unsigned m_childNeedsCompositingInputsUpdate : 1;
// Used only while determining what layers should be composited. Applies to the tree of z-order lists.
unsigned m_hasCompositingDescendant : 1;
@@ -703,7 +703,7 @@ private:
// Used for invalidating this layer's contents on the squashing GraphicsLayer.
IntSize m_offsetFromSquashingLayerOrigin;
- AncestorDependentProperties m_ancestorDependentProperties;
+ CompositingInputs m_compositingInputs;
IntRect m_blockSelectionGapsBounds;
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698