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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.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/DebuggerModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
index 177643a51c5d39e75003c1f85abb190c4664951a..e5802ee4cb1ea8da75c952cbc5254c85833517c9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
@@ -216,7 +216,6 @@ SDK.DebuggerModel = class extends SDK.SDKModel {
}
columnNumber = Math.max(columnNumber, minColumnNumber);
- var target = this.target();
/**
* @param {?Protocol.Error} error
* @param {!Protocol.Debugger.BreakpointId} breakpointId
@@ -240,8 +239,6 @@ SDK.DebuggerModel = class extends SDK.SDKModel {
* @param {function(?Protocol.Debugger.BreakpointId, !Array.<!SDK.DebuggerModel.Location>)=} callback
*/
setBreakpointBySourceId(rawLocation, condition, callback) {
- var target = this.target();
-
/**
* @this {SDK.DebuggerModel}
* @param {?Protocol.Error} error

Powered by Google App Engine
This is Rietveld 408576698