Chromium Code Reviews| 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 265139b8b5ed9b1381d9e6a67942c229eb092e6c..1b2199ec287174d8642ec1475cd0ea6079aef9f7 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
| @@ -595,6 +595,10 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame { |
| var callFrame = UI.context.flavor(SDK.DebuggerModel.CallFrame); |
| if (!callFrame) |
| return; |
| + if (this._clearContinueToLocationsTimer) { |
| + clearTimeout(this._clearContinueToLocationsTimer); |
| + delete this._clearContinueToLocationsTimer; |
| + } |
|
lushnikov
2017/03/10 04:51:57
Why don't we want greendots to be removed in case
kozy
2017/03/10 05:06:38
Let me explain. When we clearExecutionLine we sche
|
| var localScope = callFrame.localScope(); |
| if (!localScope) |
| return; |
| @@ -605,11 +609,6 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame { |
| debuggerModel.getPossibleBreakpoints(start, end, true) |
| .then(locations => this.textEditor.operation(renderLocations.bind(this, locations))); |
| - if (this._clearContinueToLocationsTimer) { |
| - clearTimeout(this._clearContinueToLocationsTimer); |
| - delete this._clearContinueToLocationsTimer; |
| - } |
| - |
| /** |
| * @param {!Array<!SDK.DebuggerModel.BreakLocation>} locations |
| * @this {Sources.JavaScriptSourceFrame} |