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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js

Issue 2742653003: [DevTools] chaotic green dots displacement fix (Closed)
Patch Set: git branch Created 3 years, 9 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698