Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js |
| index 5f20ec60fd80ac254bd3bb9442d2d8dc2e2580b7..e24342f8afa8a1bbff2232faf7b4b0ed7845044b 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js |
| @@ -5,13 +5,11 @@ |
| /** |
| * @constructor |
| * @param {!WebInspector.DebuggerWorkspaceBinding} debuggerWorkspaceBinding |
| - * @param {!WebInspector.NetworkMapping} networkMapping |
| * @implements {WebInspector.TargetManager.Observer} |
| */ |
| -WebInspector.BlackboxManager = function(debuggerWorkspaceBinding, networkMapping) |
| +WebInspector.BlackboxManager = function(debuggerWorkspaceBinding) |
| { |
| this._debuggerWorkspaceBinding = debuggerWorkspaceBinding; |
| - this._networkMapping = networkMapping; |
| WebInspector.targetManager.addModelListener(WebInspector.DebuggerModel, WebInspector.DebuggerModel.Events.ParsedScriptSource, this._parsedScriptSource, this); |
| WebInspector.targetManager.addModelListener(WebInspector.DebuggerModel, WebInspector.DebuggerModel.Events.GlobalObjectCleared, this._globalObjectCleared, this); |
| @@ -195,12 +193,7 @@ WebInspector.BlackboxManager.prototype = { |
| */ |
| _uiSourceCodeURL: function(uiSourceCode) |
| { |
| - var networkURL = this._networkMapping.networkURL(uiSourceCode); |
| - var projectType = uiSourceCode.project().type(); |
| - if (projectType === WebInspector.projectTypes.Debugger) |
| - return null; |
| - var url = projectType === WebInspector.projectTypes.Formatter ? uiSourceCode.url() : networkURL; |
| - return url ? url : null; |
| + return uiSourceCode.project().type() === WebInspector.projectTypes.Debugger ? null : uiSourceCode.url(); |
|
dgozman
2016/09/27 17:48:24
Looks like UI for blackboxing should be aware of n
lushnikov
2016/09/28 18:36:02
Done. (@see CallStackSidebarPane.js:284)
|
| }, |
| /** |