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 08285f2fde29c10411282996abdc294eebaa0127..5f0324eb7e9091febe46a339f13a2dc9d72f2662 100644 |
--- a/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
+++ b/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
@@ -40,7 +40,7 @@ |
this._nextCallId = 1; |
this._callbacks = []; |
this._previousCallbacks = []; |
- this._worker = new Worker("heap_snapshot_worker/HeapSnapshotWorker.js"); |
+ this._worker = Runtime.startWorker("heap_snapshot_worker"); |
this._worker.onmessage = this._messageReceived.bind(this); |
} |