| Index: third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
|
| index 8c878fe3a3c518d274739d9eeccb777c7ce3100b..4e10d760e832768fa5bcc4b4379a41a17c014890 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
|
| @@ -35,13 +35,12 @@ Bindings.ResourceScriptMapping = class {
|
| /**
|
| * @param {!SDK.DebuggerModel} debuggerModel
|
| * @param {!Workspace.Workspace} workspace
|
| - * @param {!Bindings.NetworkMapping} networkMapping
|
| * @param {!Bindings.DebuggerWorkspaceBinding} debuggerWorkspaceBinding
|
| */
|
| - constructor(debuggerModel, workspace, networkMapping, debuggerWorkspaceBinding) {
|
| + constructor(debuggerModel, workspace, debuggerWorkspaceBinding) {
|
| this._target = debuggerModel.target();
|
| this._debuggerModel = debuggerModel;
|
| - this._networkMapping = networkMapping;
|
| + this._workspace = workspace;
|
| this._debuggerWorkspaceBinding = debuggerWorkspaceBinding;
|
| /** @type {!Set<!Workspace.UISourceCode>} */
|
| this._boundUISourceCodes = new Set();
|
| @@ -193,7 +192,7 @@ Bindings.ResourceScriptMapping = class {
|
| _workspaceUISourceCodeForScript(script) {
|
| if (script.isAnonymousScript())
|
| return null;
|
| - return this._networkMapping.uiSourceCodeForScriptURL(script.sourceURL, script);
|
| + return Bindings.NetworkProject.uiSourceCodeForScriptURL(this._workspace, script.sourceURL, script);
|
| }
|
|
|
| /**
|
|
|