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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.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/sources/NavigatorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
index defaecff994b2c1d717901d77ef06bd9189e65f7..8cd7a60d4a21b826484ba3331a20edcf7cac45a4 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
@@ -157,7 +157,6 @@ Sources.NavigatorView = class extends UI.VBox {
var typeWeight1 = Sources.NavigatorView._treeElementOrder(treeElement1);
var typeWeight2 = Sources.NavigatorView._treeElementOrder(treeElement2);
- var result;
if (typeWeight1 > typeWeight2)
return 1;
if (typeWeight1 < typeWeight2)
@@ -690,9 +689,6 @@ Sources.NavigatorView = class extends UI.VBox {
* @param {!Workspace.UISourceCode=} uiSourceCodeToCopy
*/
create(project, path, uiSourceCodeToCopy) {
- var filePath;
- var uiSourceCode;
-
/**
* @this {Sources.NavigatorView}
* @param {?string} content

Powered by Google App Engine
This is Rietveld 408576698