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

Unified Diff: Source/devtools/front_end/PresentationConsoleMessageHelper.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/PresentationConsoleMessageHelper.js
diff --git a/Source/devtools/front_end/PresentationConsoleMessageHelper.js b/Source/devtools/front_end/PresentationConsoleMessageHelper.js
index ccf52d6745f50269baec56727d1933b585e7177c..e8dcb8c57d6d87c971a79a6989fbc5574e50d35b 100644
--- a/Source/devtools/front_end/PresentationConsoleMessageHelper.js
+++ b/Source/devtools/front_end/PresentationConsoleMessageHelper.js
@@ -151,7 +151,7 @@ WebInspector.PresentationConsoleMessageHelper.prototype = {
WebInspector.PresentationConsoleMessage = function(message, rawLocation)
{
this.originalMessage = message;
- this._liveLocation = WebInspector.debuggerModel.createLiveLocation(rawLocation, this._updateLocation.bind(this));
+ this._liveLocation = rawLocation.createLiveLocation(this._updateLocation.bind(this));
}
WebInspector.PresentationConsoleMessage.prototype = {
« no previous file with comments | « Source/devtools/front_end/ObjectPropertiesSection.js ('k') | Source/devtools/front_end/ProfileDataGridTree.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698