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

Unified Diff: Source/devtools/front_end/sdk/AnimationModel.js

Issue 980053006: Revert of Devtools Animations: Represent delay and end-delay on the animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/devtools/front_end/elements/animationTimeline.css ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/AnimationModel.js
diff --git a/Source/devtools/front_end/sdk/AnimationModel.js b/Source/devtools/front_end/sdk/AnimationModel.js
index 96923241045eec51b81fbc442221089ddcea879a..b0e8aa71c4aa4870e05612e6676d54fd43cae276 100644
--- a/Source/devtools/front_end/sdk/AnimationModel.js
+++ b/Source/devtools/front_end/sdk/AnimationModel.js
@@ -152,7 +152,7 @@
{
if (!this.source().iterations)
return Infinity;
- return this.startTime() + this.source().delay() + this.source().duration() * this.source().iterations() + this.source().endDelay();
+ return this.startTime() + this.source().duration() * this.source().iterations();
},
/**
@@ -233,14 +233,6 @@
/**
* @return {number}
*/
- endDelay: function()
- {
- return this._payload.endDelay;
- },
-
- /**
- * @return {number}
- */
playbackRate: function()
{
return this._payload.playbackRate;
@@ -259,7 +251,7 @@
*/
iterations: function()
{
- return this._payload.iterations || Infinity;
+ return this._payload.iterations;
},
/**
« no previous file with comments | « Source/devtools/front_end/elements/animationTimeline.css ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698