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

Unified Diff: Source/devtools/front_end/StylesSourceMapping.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
« no previous file with comments | « Source/devtools/front_end/StylesSidebarPane.js ('k') | Source/devtools/front_end/Target.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/StylesSourceMapping.js
diff --git a/Source/devtools/front_end/StylesSourceMapping.js b/Source/devtools/front_end/StylesSourceMapping.js
index 1be84aa6d0d6af17eff4a87c9eb7686de47e91d3..788cf5a60bb437dd4a2bc3c77a219f5985353d21 100644
--- a/Source/devtools/front_end/StylesSourceMapping.js
+++ b/Source/devtools/front_end/StylesSourceMapping.js
@@ -72,7 +72,7 @@ WebInspector.StylesSourceMapping.prototype = {
*/
uiLocationToRawLocation: function(uiSourceCode, lineNumber, columnNumber)
{
- return new WebInspector.CSSLocation(uiSourceCode.url || "", lineNumber, columnNumber);
+ return new WebInspector.CSSLocation(this._cssModel.target(), uiSourceCode.url || "", lineNumber, columnNumber);
},
/**
« no previous file with comments | « Source/devtools/front_end/StylesSidebarPane.js ('k') | Source/devtools/front_end/Target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698