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

Unified Diff: Source/core/animation/AnimationTimeline.h

Issue 847283004: Web Animations: Simplify mutable AnimationTimeline currentTime and playbackRate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Invalidate compositor animations. Created 5 years, 11 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
Index: Source/core/animation/AnimationTimeline.h
diff --git a/Source/core/animation/AnimationTimeline.h b/Source/core/animation/AnimationTimeline.h
index 1e826d6c3c4b5b4dccf9805aafb05e1b8c9bdfb7..faaef00ebd87d8f0faa26591c8c086f045cdf055 100644
--- a/Source/core/animation/AnimationTimeline.h
+++ b/Source/core/animation/AnimationTimeline.h
@@ -112,13 +112,12 @@ protected:
private:
RawPtrWillBeMember<Document> m_document;
double m_zeroTime;
+ bool m_zeroTimeInitialized;
// AnimationPlayers which will be updated on the next frame
// i.e. current, in effect, or had timing changed
WillBeHeapHashSet<RefPtrWillBeMember<AnimationPlayer>> m_playersNeedingUpdate;
WillBeHeapHashSet<RawPtrWillBeWeakMember<AnimationPlayer>> m_players;
- double m_documentCurrentTimeSnapshot;
- double m_zeroTimeOffset;
double m_playbackRate;
friend class SMILTimeContainer;
« no previous file with comments | « LayoutTests/web-animations-api/animationtimeline-consistent.html ('k') | Source/core/animation/AnimationTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698