Index: Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotProxy.js b/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
index 5f0324eb7e9091febe46a339f13a2dc9d72f2662..f8c4959de74eb2497bf5e86bd0c7e459983e6b0f 100644 |
--- a/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
+++ b/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
@@ -40,7 +40,7 @@ WebInspector.HeapSnapshotWorkerProxy = function(eventHandler) |
this._nextCallId = 1; |
this._callbacks = []; |
this._previousCallbacks = []; |
- this._worker = Runtime.startWorker("heap_snapshot_worker"); |
+ this._worker = new WorkerRuntime.Worker("heap_snapshot_worker"); |
this._worker.onmessage = this._messageReceived.bind(this); |
} |