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..b7c16620907fa80e34e1823fdf219ef415e8c7a7 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js |
| @@ -805,8 +805,11 @@ Sources.JavaScriptSourceFrame = class extends SourceFrame.UISourceCodeFrame { |
| this.textEditor.clearExecutionLine(); |
| delete this._executionLocation; |
| this._clearValueWidgetsTimer = setTimeout(this._clearValueWidgets.bind(this), 1000); |
|
lushnikov
2017/03/10 01:38:16
don't you want the same for inline values?
|
| - if (Runtime.experiments.isEnabled('continueToLocationMarkers')) |
| + if (Runtime.experiments.isEnabled('continueToLocationMarkers')) { |
| + if (this._clearContinueToLocationsTimer) |
| + clearTimeout(this._clearContinueToLocationsTimer); |
|
lushnikov
2017/03/10 01:38:16
let's rather fix the original root of the problem!
|
| this._clearContinueToLocationsTimer = setTimeout(this._clearContinueToLocations.bind(this), 1000); |
| + } |
| } |
| _clearValueWidgets() { |