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

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

Issue 30813004: Revert r160071 "Web Animations: Implement AnimationClock and fix start time of animations" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/core/animation/AnimationClockTest.cpp ('k') | Source/core/animation/DocumentTimeline.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/DocumentTimeline.h
diff --git a/Source/core/animation/DocumentTimeline.h b/Source/core/animation/DocumentTimeline.h
index 1cddc56fec79b5e2a4c493c3c6551973ddbf01a9..9323f55d156489e6ad606bf2f375a79cda6c725d 100644
--- a/Source/core/animation/DocumentTimeline.h
+++ b/Source/core/animation/DocumentTimeline.h
@@ -54,7 +54,7 @@ public:
// Called from setReadyState() in Document.cpp to set m_zeroTimeAsPerfTime to
// performance.timing.domInteractive.
void setZeroTimeAsPerfTime(double);
- double currentTime();
+ double currentTime() { return m_currentTime; }
void pauseAnimationsForTesting(double);
size_t numberOfActiveAnimationsForTesting() const;
AnimationStack* animationStack(const Element* element) const
@@ -71,6 +71,7 @@ public:
private:
DocumentTimeline(Document*);
void dispatchEvents();
+ double m_currentTime;
double m_zeroTimeAsPerfTime;
Document* m_document;
Vector<RefPtr<Player> > m_players;
« no previous file with comments | « Source/core/animation/AnimationClockTest.cpp ('k') | Source/core/animation/DocumentTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698