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() |