Index: Source/devtools/front_end/ResourceScriptMapping.js |
diff --git a/Source/devtools/front_end/ResourceScriptMapping.js b/Source/devtools/front_end/ResourceScriptMapping.js |
index 4e10328bec94b6a1a3ea998c07f45a651fad8b78..693a9a4dad362e9b113c1fac2306d54bd96b6d90 100644 |
--- a/Source/devtools/front_end/ResourceScriptMapping.js |
+++ b/Source/devtools/front_end/ResourceScriptMapping.js |
@@ -52,7 +52,7 @@ WebInspector.ResourceScriptMapping.prototype = { |
rawLocationToUILocation: function(rawLocation) |
{ |
var debuggerModelLocation = /** @type {!WebInspector.DebuggerModel.Location} */ (rawLocation); |
- var script = this._debuggerModel.scriptForId(debuggerModelLocation.scriptId); |
+ var script = debuggerModelLocation.script(); |
var uiSourceCode = this._workspaceUISourceCodeForScript(script); |
if (!uiSourceCode) |
return null; |