Index: Source/core/platform/animation/CSSAnimationData.h |
diff --git a/Source/core/platform/animation/CSSAnimationData.h b/Source/core/platform/animation/CSSAnimationData.h |
index d0fa147bd52253a7b487afcbb27804ce70dd5e1b..6744748f4a3ba76d2d3fba898179fc5f5de6fa52 100644 |
--- a/Source/core/platform/animation/CSSAnimationData.h |
+++ b/Source/core/platform/animation/CSSAnimationData.h |
@@ -137,7 +137,7 @@ public: |
CSSAnimationData& operator=(const CSSAnimationData& o); |
// return true every CSSAnimationData in the chain (defined by m_next) match |
- bool operator==(const CSSAnimationData& o) const { return animationsMatch(&o); } |
+ bool operator==(const CSSAnimationData& o) const { return animationsMatchForStyleRecalc(&o); } |
bool operator!=(const CSSAnimationData& o) const { return !(*this == o); } |
bool fillsBackwards() const { return m_fillModeSet && (m_fillMode == AnimationFillModeBackwards || m_fillMode == AnimationFillModeBoth); } |
@@ -147,8 +147,9 @@ private: |
CSSAnimationData(); |
explicit CSSAnimationData(const CSSAnimationData&); |
- // return true if all members of this class match (excluding m_next) |
- bool animationsMatch(const CSSAnimationData*) const; |
+ // Return whether this object matches another CSSAnimationData object for |
+ // the purposes of style recalc. This excludes some properties. |
+ bool animationsMatchForStyleRecalc(const CSSAnimationData*) const; |
AtomicString m_name; |
CSSPropertyID m_property; |