Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1452)

Unified Diff: Source/devtools/front_end/profiler/HeapSnapshotProxy.js

Issue 458753003: Revert of DevTools: Introduce module initializers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/network/module.json ('k') | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..08285f2fde29c10411282996abdc294eebaa0127 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 = Runtime.startWorker("heap_snapshot_worker");
+ this._worker = new Worker("heap_snapshot_worker/HeapSnapshotWorker.js");
this._worker.onmessage = this._messageReceived.bind(this);
}
« no previous file with comments | « Source/devtools/front_end/network/module.json ('k') | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698