Index: Source/core/css/CSSKeyframesRule.h |
diff --git a/Source/core/css/CSSKeyframesRule.h b/Source/core/css/CSSKeyframesRule.h |
index 93f8466443de5b7131643b427516e30658e0beaf..d1e15d34aa3824142745d154f745bdc8be871823 100644 |
--- a/Source/core/css/CSSKeyframesRule.h |
+++ b/Source/core/css/CSSKeyframesRule.h |
@@ -61,6 +61,9 @@ public: |
void traceAfterDispatch(Visitor*); |
+ void styleChanged() { m_styleChangeCounter++; } |
+ unsigned styleChangeCounter() const { return m_styleChangeCounter; } |
+ |
private: |
StyleRuleKeyframes(); |
explicit StyleRuleKeyframes(const StyleRuleKeyframes&); |
@@ -68,6 +71,7 @@ private: |
WillBeHeapVector<RefPtrWillBeMember<StyleRuleKeyframe> > m_keyframes; |
AtomicString m_name; |
bool m_isPrefixed; |
+ unsigned m_styleChangeCounter; |
}; |
DEFINE_STYLE_RULE_TYPE_CASTS(Keyframes); |
@@ -112,6 +116,8 @@ private: |
mutable WillBeHeapVector<RefPtrWillBeMember<CSSKeyframeRule> > m_childRuleCSSOMWrappers; |
mutable OwnPtrWillBeMember<CSSRuleList> m_ruleListCSSOMWrapper; |
bool m_isPrefixed; |
+ |
+ friend class CSSKeyframeRule; |
}; |
DEFINE_CSS_RULE_TYPE_CASTS(CSSKeyframesRule, KEYFRAMES_RULE); |