Index: Source/devtools/front_end/main/Main.js |
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js |
index db2fca96666292ddc05d700a7fa4a2d7bce9b6b6..db71adc337881bf2ef3ae597f661fa7e39da23e5 100644 |
--- a/Source/devtools/front_end/main/Main.js |
+++ b/Source/devtools/front_end/main/Main.js |
@@ -266,7 +266,7 @@ WebInspector.Main.prototype = { |
WebInspector.setToolbarColors(WebInspector.queryParam("toolbarColor"), WebInspector.queryParam("textColor")); |
WebInspector.targetManager = new WebInspector.TargetManager(); |
- WebInspector.targetManager.createTarget(connection, this._doLoadedDoneWithCapabilities.bind(this)); |
+ WebInspector.targetManager.createTarget(WebInspector.UIString("Main"), connection, this._doLoadedDoneWithCapabilities.bind(this)); |
WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSystemManager(); |
WebInspector.isolatedFileSystemDispatcher = new WebInspector.IsolatedFileSystemDispatcher(WebInspector.isolatedFileSystemManager); |
WebInspector.workspace = new WebInspector.Workspace(WebInspector.isolatedFileSystemManager.mapping()); |
@@ -805,7 +805,7 @@ WebInspector.Main._addWebSocketTarget = function(ws) |
*/ |
function callback(connection) |
{ |
- WebInspector.targetManager.createTarget(connection); |
+ WebInspector.targetManager.createTarget(ws, connection); |
} |
new InspectorBackendClass.WebSocketConnection(ws, callback); |
} |