| Index: third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| index 3d6942efb487a91cc2678b14706572a3e082e011..b78b51f713efeed3dff9a68ae42082cadf668ddb 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| @@ -4,6 +4,11 @@
|
|
|
| if (!window.WebInspector)
|
| window.WebInspector = {};
|
| +
|
| +self['Common'] = {};
|
| +self['Profiler'] = {};
|
| +self['HeapSnapshotWorker'] = {};
|
| +
|
| InspectorTest.importScript("../../../../../Source/devtools/front_end/platform/utilities.js");
|
| InspectorTest.importScript("../../../../../Source/devtools/front_end/common/UIString.js");
|
| InspectorTest.importScript("../../../../../Source/devtools/front_end/profiler/HeapSnapshotCommon.js");
|
| @@ -20,7 +25,7 @@ InspectorTest.fail = function(message)
|
|
|
| InspectorTest._takeHeapSnapshotInternal = function(command, callback)
|
| {
|
| - var loader = new WebInspector.HeapSnapshotLoader();
|
| + var loader = new HeapSnapshotWorker.HeapSnapshotLoader();
|
| InspectorTest.eventHandler["HeapProfiler.addHeapSnapshotChunk"] = function(messageObject)
|
| {
|
| loader.write(messageObject["params"]["chunk"]);
|
|
|