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

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

Issue 220903002: DevTools: wrap DebuggerAgent.Location with DebuggerModel.Location. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: All 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
Index: Source/devtools/front_end/SourcesPanel.js
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js
index e2299c0b041eba6da32aac58e7cb5ef19ba0c79f..c80ef54824bd9109f9334d7e7542e4d04c207006 100644
--- a/Source/devtools/front_end/SourcesPanel.js
+++ b/Source/devtools/front_end/SourcesPanel.js
@@ -583,6 +583,9 @@ WebInspector.SourcesPanel.prototype = {
delete this._skipExecutionLineRevealing;
},
+ /**
+ * @param {!WebInspector.DebuggerModel.Location} rawLocation
+ */
continueToLocation: function(rawLocation)
{
if (!this._paused)
@@ -591,7 +594,7 @@ WebInspector.SourcesPanel.prototype = {
delete this._skipExecutionLineRevealing;
this._paused = false;
this._clearInterface();
- WebInspector.debuggerModel.continueToLocation(rawLocation);
+ rawLocation.continueToLocation();
},
_toggleBreakpointsClicked: function(event)
« no previous file with comments | « Source/devtools/front_end/ScriptFormatterEditorAction.js ('k') | Source/devtools/front_end/StylesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698