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

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: 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 9ffce9958784874a8d96ae561aaf6c65347eed09..61739748de5da7fc648e0deef45956ed7a465d6f 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Widget.js
@@ -372,7 +372,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