Index: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
index 4013fea524c88a40f6de4a273b12e0ed642ff03a..595ac7698564cbcf6608c4bbb24c7e2a2116a83b 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
@@ -1568,14 +1568,17 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame { |
} |
} |
- toggleBreakpointOnCurrentLine() { |
+ /** |
+ * @param {boolean} onlyDisable |
+ */ |
+ toggleBreakpointOnCurrentLine(onlyDisable) { |
if (this._muted) |
return; |
var selection = this.textEditor.selection(); |
if (!selection) |
return; |
- this._toggleBreakpoint(selection.startLine, false); |
+ this._toggleBreakpoint(selection.startLine, onlyDisable); |
} |
/** |