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

Unified Diff: Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js

Issue 9950021: Merge 112661 - Web Inspector: [Regression] Execution line is not revealed after pretty print. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 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: Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js
===================================================================
--- Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js (revision 112677)
+++ Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js (working copy)
@@ -429,8 +429,10 @@
setExecutionLine: function(lineNumber)
{
this._executionLineNumber = lineNumber;
- if (this.loaded)
+ if (this.loaded) {
this.textViewer.addDecoration(lineNumber, "webkit-execution-line");
+ this.revealLine(this._executionLineNumber);
+ }
},
clearExecutionLine: function()
« 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