Chromium Code Reviews| Index: Source/core/animation/AnimationNode.h |
| diff --git a/Source/core/animation/AnimationNode.h b/Source/core/animation/AnimationNode.h |
| index b275d824848fae18372bce797386db0afb0cb978..7d333a6c4d6deadb434e514f70a5516d7758ebd8 100644 |
| --- a/Source/core/animation/AnimationNode.h |
| +++ b/Source/core/animation/AnimationNode.h |
| @@ -104,6 +104,9 @@ public: |
| PassRefPtrWillBeRawPtr<AnimationNodeTiming> timing(); |
| void updateSpecifiedTiming(const Timing&); |
| + unsigned styleChangeCounter() const { return m_styleChangeCounter; } |
| + void updateStyleChangeCounter(unsigned styleChangeCounter) { m_styleChangeCounter = std::max(m_styleChangeCounter, styleChangeCounter); } |
| + |
| void computedTiming(ComputedTimingProperties&); |
| ComputedTimingProperties computedTiming(); |
| @@ -164,6 +167,9 @@ protected: |
| String m_name; |
| const CalculatedTiming& ensureCalculated() const; |
| + |
| +private: |
| + unsigned m_styleChangeCounter; |
|
dstockwell
2014/12/29 01:59:52
This seems specific to CSSAnimations, we should st
shend
2014/12/29 03:21:37
Done.
|
| }; |
| } // namespace blink |