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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js

Issue 2560043005: DevTools: Remove unused variables. Disallow unused variables with eslint (Closed)
Patch Set: 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/network/NetworkOverview.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js
index 017d02cc886a6cfce713965fb58f8181a3bb6f33..4569a3a70afc83a27ba47a4fe1c7f0f030512ddd 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkOverview.js
@@ -175,10 +175,6 @@ Network.NetworkOverview = class extends UI.TimelineOverviewBase {
new Network.NetworkTimeBoundary(this._calculator.minimumBoundary(), this._calculator.maximumBoundary());
if (this._windowStart || this._windowEnd) {
this._restoringWindow = true;
dgozman 2016/12/10 02:15:14 Let's maybe remove more now?
einbinder 2016/12/12 20:41:18 Done.
- var startTime = this._calculator.minimumBoundary();
- var totalTime = this._calculator.boundarySpan();
dgozman 2016/12/10 02:15:14 Let's double-check for side-effects.
einbinder 2016/12/12 20:41:18 Done.
- var left = (this._windowStart - startTime) / totalTime;
- var right = (this._windowEnd - startTime) / totalTime;
this._restoringWindow = false;
}
}

Powered by Google App Engine
This is Rietveld 408576698