Index: Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js |
diff --git a/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js b/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js |
index 61a166e462c0308620e2dfa57767ef8aba094c9e..9849399b44271db506fdcfb321fdb27c5329a996 100644 |
--- a/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js |
+++ b/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js |
@@ -28,6 +28,18 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+WebInspector = {}; |
+ |
+importScripts("../common/UIString.js"); |
+importScripts("../common/utilities.js"); |
+importScripts("../common/TextUtils.js"); |
+importScripts("../profiler/HeapSnapshotCommon.js"); |
+importScripts("AllocationProfile.js"); |
+importScripts("HeapSnapshot.js"); |
+importScripts("HeapSnapshotLoader.js"); |
+importScripts("HeapSnapshotWorkerDispatcher.js"); |
+importScripts("JSHeapSnapshot.js"); |
+ |
function postMessageWrapper(message) |
{ |
postMessage(message); |