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

Unified Diff: third_party/WebKit/Source/devtools/front_end/animation/AnimationUI.js

Issue 2560043005: DevTools: Remove unused variables. Disallow unused variables with eslint (Closed)
Patch Set: A new unused variable was born Created 4 years 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: third_party/WebKit/Source/devtools/front_end/animation/AnimationUI.js
diff --git a/third_party/WebKit/Source/devtools/front_end/animation/AnimationUI.js b/third_party/WebKit/Source/devtools/front_end/animation/AnimationUI.js
index 45c161f4dac50019e80febeaeea347e7eecc4217..816766e39f4d797040c9ec53c0d08f38d16dd06c 100644
--- a/third_party/WebKit/Source/devtools/front_end/animation/AnimationUI.js
+++ b/third_party/WebKit/Source/devtools/front_end/animation/AnimationUI.js
@@ -203,8 +203,6 @@ Animation.AnimationUI = class {
}
redraw() {
- var durationWithDelay =
- this._delay() + this._duration() * this._animation.source().iterations() + this._animation.source().endDelay();
var maxWidth = this._timeline.width() - Animation.AnimationUI.Options.AnimationMargin;
this._svg.setAttribute('width', (maxWidth + 2 * Animation.AnimationUI.Options.AnimationMargin).toFixed(2));

Powered by Google App Engine
This is Rietveld 408576698