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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ListWidget.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/ui/ListWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
index 237c3e773b069f21f5f7057f7608e12532e9b1a2..7878a136b0c99dc7b1ca49b7aff8e405765269c7 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js
@@ -114,7 +114,7 @@ UI.ListWidget = class extends UI.VBox {
*/
_createControls(item, element) {
var controls = createElementWithClass('div', 'controls-container fill');
- var gradient = controls.createChild('div', 'controls-gradient');
+ controls.createChild('div', 'controls-gradient');
var buttons = controls.createChild('div', 'controls-buttons');
var editButton = buttons.createChild('div', 'edit-button');

Powered by Google App Engine
This is Rietveld 408576698