| Index: Source/devtools/front_end/LiveEditSupport.js
|
| diff --git a/Source/devtools/front_end/LiveEditSupport.js b/Source/devtools/front_end/LiveEditSupport.js
|
| index ed1d1e6ea756cbd80499b22c175ea7135896c435..2a7ffab2235b62c91af150225bc3c0ae3b528e48 100644
|
| --- a/Source/devtools/front_end/LiveEditSupport.js
|
| +++ b/Source/devtools/front_end/LiveEditSupport.js
|
| @@ -48,7 +48,7 @@ WebInspector.LiveEditSupport.prototype = {
|
| {
|
| var rawLocation = uiSourceCode.uiLocationToRawLocation(0, 0);
|
| var debuggerModelLocation = /** @type {!WebInspector.DebuggerModel.Location} */ (rawLocation);
|
| - var script = WebInspector.debuggerModel.scriptForId(debuggerModelLocation.scriptId);
|
| + var script = debuggerModelLocation.script();
|
| var uiLocation = script.rawLocationToUILocation(0, 0);
|
|
|
| // FIXME: Support live editing of scripts mapped to some file.
|
|
|