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 e57a259c221b24f48ad2213e62e5e560b9cb876a..4b50e4c7aeae92667438352938a1d24646e4a705 100644 |
--- a/Source/devtools/front_end/main/Main.js |
+++ b/Source/devtools/front_end/main/Main.js |
@@ -311,7 +311,6 @@ WebInspector.Main.prototype = { |
new WebInspector.RemoteDebuggingTerminatedScreen(event.data.reason).showModal(); |
} |
- InspectorBackend.setConnection(connection); |
var targetType = Runtime.queryParam("isSharedWorker") ? WebInspector.Target.Type.ServiceWorker : WebInspector.Target.Type.Page; |
WebInspector.targetManager.createTarget(WebInspector.UIString("Main"), targetType, connection, null, this._mainTargetCreated.bind(this)); |
}, |