| Index: third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| index 469d9b7a9d5343069718cf4f4a3e13df0876d85d..fa951dc6c85b4eee15efd7646ca313cf9a31f2d3 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js
|
| @@ -166,6 +166,18 @@ Bindings.DebuggerWorkspaceBinding = class extends Common.Object {
|
| return info._rawLocationToUILocation(rawLocation);
|
| }
|
|
|
| + /**
|
| + * @param {!SDK.DebuggerModel} debuggerModel
|
| + * @param {string} url
|
| + * @param {boolean} isContentScript
|
| + */
|
| + uiSourceCodeForSourceMapSourceURL(debuggerModel, url, isContentScript) {
|
| + var modelData = this._debuggerModelToData.get(debuggerModel);
|
| + if (!modelData)
|
| + return null;
|
| + return modelData._compilerMapping.uiSourceCodeForURL(url, isContentScript);
|
| + }
|
| +
|
| /**
|
| * @param {!Workspace.UISourceCode} uiSourceCode
|
| * @param {number} lineNumber
|
| @@ -326,9 +338,7 @@ Bindings.DebuggerWorkspaceBinding.ModelData = class {
|
|
|
| this._defaultMapping = new Bindings.DefaultScriptMapping(debuggerModel, workspace, debuggerWorkspaceBinding);
|
| this._resourceMapping = new Bindings.ResourceScriptMapping(debuggerModel, workspace, debuggerWorkspaceBinding);
|
| - this._compilerMapping = new Bindings.CompilerScriptMapping(
|
| - debuggerModel, workspace, Bindings.NetworkProject.forTarget(this._debuggerModel.target()),
|
| - debuggerWorkspaceBinding);
|
| + this._compilerMapping = new Bindings.CompilerScriptMapping(debuggerModel, workspace, debuggerWorkspaceBinding);
|
|
|
| debuggerModel.setBeforePausedCallback(this._beforePaused.bind(this));
|
| this._eventListeners = [
|
|
|