Index: Source/core/animation/AnimationTimeline.h |
diff --git a/Source/core/animation/AnimationTimeline.h b/Source/core/animation/AnimationTimeline.h |
index 3d91d89abdf8893ef295a83c9aa8bb75ec21c502..1d4fde3d2a3c1bc47fe5045ea8d382480f691214 100644 |
--- a/Source/core/animation/AnimationTimeline.h |
+++ b/Source/core/animation/AnimationTimeline.h |
@@ -80,7 +80,7 @@ public: |
#endif |
bool hasPendingUpdates() const { return !m_playersNeedingUpdate.isEmpty(); } |
- double zeroTime() const { return 0; } |
+ double zeroTime(); |
double currentTime(bool& isNull); |
double currentTime(); |
double currentTimeInternal(bool& isNull); |
@@ -104,6 +104,7 @@ protected: |
private: |
RawPtrWillBeMember<Document> m_document; |
+ double m_zeroTime; |
// AnimationPlayers which will be updated on the next frame |
// i.e. current, in effect, or had timing changed |
WillBeHeapHashSet<RefPtrWillBeMember<AnimationPlayer> > m_playersNeedingUpdate; |