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

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

Issue 556453004: Web Animations: Use null for unresolved startTime and currentTime in AnimationPlayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert formatting change. Created 6 years, 3 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/AnimationPlayer.h
diff --git a/Source/core/animation/AnimationPlayer.h b/Source/core/animation/AnimationPlayer.h
index 8cdfc587e056eb663721cb245f08012bb29f1e1b..e987097d1c611a93a6dbb23a94cb622ab74946d6 100644
--- a/Source/core/animation/AnimationPlayer.h
+++ b/Source/core/animation/AnimationPlayer.h
@@ -70,6 +70,7 @@ public:
void cancel();
+ double currentTime(bool& isNull);
double currentTime();
void setCurrentTime(double newCurrentTime);
@@ -110,6 +111,7 @@ public:
double calculateStartTime(double currentTime) const;
bool hasStartTime() const { return !isNull(m_startTime); }
+ double startTime(bool& isNull) const;
double startTime() const;
double startTimeInternal() const { return m_startTime; }
void setStartTime(double);
« no previous file with comments | « LayoutTests/web-animations-api/player-unresolved-times.html ('k') | Source/core/animation/AnimationPlayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698