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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.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/sdk/SubTargetsManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
index 8561c06ed24b3711cea84bae037bf0861fa93460..ee930caac609bf1c650ac8a3caad6b0bf5a8673a 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SubTargetsManager.js
@@ -185,7 +185,6 @@ SDK.SubTargetsManager = class extends SDK.SDKModel {
* @param {string} targetId
*/
_detachedFromTarget(targetId) {
- var target = this._attachedTargets.get(targetId);
this._attachedTargets.delete(targetId);
var connection = this._connections.get(targetId);
connection._onDisconnect.call(null, 'target terminated');

Powered by Google App Engine
This is Rietveld 408576698