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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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
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"]);

Powered by Google App Engine
This is Rietveld 408576698