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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.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/network/NetworkLogViewColumns.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
index 6fb1f1373176b0bd539267fe7691776380ec1de7..7e502bacdb1adef3396770bbb75364cb4e497df7 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogViewColumns.js
@@ -470,7 +470,7 @@ Network.NetworkLogViewColumns = class {
var index = this._columns.findIndex(columnConfig => columnConfig.id === headerId);
if (index === -1)
return false;
- var columnConfig = this._columns.splice(index, 1);
+ this._columns.splice(index, 1);
this._dataGrid.removeColumn(headerId);
this._saveColumns();
this._updateColumns();

Powered by Google App Engine
This is Rietveld 408576698