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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.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/elements/EventListenersWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js
index bd334a80cc8ea5193ff72ee821f7ae595fcbf996..c76c16d81fc490654cf058ce37da35a95d5def8d 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/EventListenersWidget.js
@@ -100,7 +100,6 @@ Elements.EventListenersWidget = class extends UI.ThrottledWidget {
this._lastRequestedNode = node;
var selectedNodeOnly = !this._showForAncestorsSetting.get();
var promises = [];
- var listenersView = this._eventListenersView;
promises.push(node.resolveToObjectPromise(Elements.EventListenersWidget._objectGroupName));
if (!selectedNodeOnly) {
var currentNode = node.parentNode;

Powered by Google App Engine
This is Rietveld 408576698