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

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

Issue 204323003: DevTools: Merge highlightPosition and revealLine methods on SourceFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests Created 6 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 | « Source/devtools/front_end/SourceFrame.js ('k') | Source/devtools/front_end/TextEditor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SourcesPanel.js
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js
index fba5ba6ace557ea3e3e42ff271ded6f986f5b501..5d2b02bf03a498c5dfeb8fb7d79657ea5cbb60fd 100644
--- a/Source/devtools/front_end/SourcesPanel.js
+++ b/Source/devtools/front_end/SourcesPanel.js
@@ -716,7 +716,7 @@ WebInspector.SourcesPanel.prototype = {
this._skipExecutionLineRevealing = true;
var sourceFrame = this._showFile(uiSourceCode);
- sourceFrame.revealLine(uiLocation.lineNumber);
+ sourceFrame.revealPosition(uiLocation.lineNumber);
this._historyManager.pushNewState();
if (sourceFrame.canEditSource())
« no previous file with comments | « Source/devtools/front_end/SourceFrame.js ('k') | Source/devtools/front_end/TextEditor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698