Index: Source/devtools/front_end/inspector.js |
diff --git a/Source/devtools/front_end/inspector.js b/Source/devtools/front_end/inspector.js |
index 590a0fad33bc3144f4d5fb6c8ff772328d37789b..ab833e9640633fdd5c35cbd35bd26077d9eb536d 100644 |
--- a/Source/devtools/front_end/inspector.js |
+++ b/Source/devtools/front_end/inspector.js |
@@ -188,7 +188,7 @@ WebInspector.Main.prototype = { |
var workerId = WebInspector.queryParam("dedicatedWorkerId"); |
if (workerId) { |
- new WebInspector.WorkerConnection(workerId, onConnectionReady); |
+ new WebInspector.ExternalWorkerConnection(workerId, onConnectionReady); |
return; |
} |
@@ -351,6 +351,9 @@ WebInspector.Main.prototype = { |
WebInspector.domStorageModel = new WebInspector.DOMStorageModel(); |
WebInspector.cpuProfilerModel = new WebInspector.CPUProfilerModel(); |
+ if (WebInspector.experimentsSettings.workersInMainWindow.isEnabled()) |
vsevik
2014/03/19 16:33:39
Let's move this to the beginning of the method.
sergeyv
2014/03/19 16:43:50
Done.
|
+ new WebInspector.WorkerTargetManager(mainTarget, WebInspector.targetManager); |
+ |
InspectorAgent.enable(inspectorAgentEnableCallback.bind(this)); |
/** |