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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/Widget.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/Widget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
index 825ca18813b4e8fce220c99921077f91ada7354d..a7525f613f0a5db1a332de231215cc49f712ebc6 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
@@ -384,7 +384,6 @@ UI.Widget = class extends Common.Object {
if (this._parentWidget._defaultFocusedChild === this)
this._parentWidget._defaultFocusedChild = null;
this._parentWidget.childWasDetached(this);
- var parent = this._parentWidget;
this._parentWidget = null;
this._processWasDetachedFromHierarchy();
} else {

Powered by Google App Engine
This is Rietveld 408576698