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

Unified Diff: Source/devtools/front_end/JavaScriptSourceFrame.js

Issue 131743005: DevTools: fix execution line update on pretty-print (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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 | Source/devtools/front_end/UISourceCodeFrame.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/JavaScriptSourceFrame.js
diff --git a/Source/devtools/front_end/JavaScriptSourceFrame.js b/Source/devtools/front_end/JavaScriptSourceFrame.js
index 600298148210bc797099c918008d3c5e8ff952e0..27dbe2a9d485e5ca018a0f9da891dcd5ddb7f166 100644
--- a/Source/devtools/front_end/JavaScriptSourceFrame.js
+++ b/Source/devtools/front_end/JavaScriptSourceFrame.js
@@ -625,6 +625,11 @@ WebInspector.JavaScriptSourceFrame.prototype = {
}
},
+ beforeFormattedChange: function()
+ {
+ this.clearExecutionLine();
+ },
+
onTextEditorContentLoaded: function()
{
if (typeof this._executionLineNumber === "number")
« no previous file with comments | « no previous file | Source/devtools/front_end/UISourceCodeFrame.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698