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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html

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/profiler/heap-snapshot-inspect-dom-wrapper.html
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html
index 30ce00763f33f67d3cefb4b48d00716c9c60ecc8..576bcbf439280a3dd13005ac0869ef92e2817a1d 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html
@@ -13,8 +13,8 @@ function handleLoad()
function test()
{
- var heapProfileType = WebInspector.ProfileTypeRegistry.instance.heapSnapshotProfileType;
- heapProfileType.addEventListener(WebInspector.HeapSnapshotProfileType.SnapshotReceived, finishHeapSnapshot);
+ var heapProfileType = Profiler.ProfileTypeRegistry.instance.heapSnapshotProfileType;
+ heapProfileType.addEventListener(Profiler.HeapSnapshotProfileType.SnapshotReceived, finishHeapSnapshot);
InspectorTest.addSniffer(heapProfileType, "_snapshotReceived", snapshotReceived);
heapProfileType._takeHeapSnapshot(function() {});
@@ -30,7 +30,7 @@ function test()
return clear("FAILED: wrong number of recorded profiles was found. profiles.length = " + profiles.length);
var profile = profiles[profiles.length - 1];
- WebInspector.panels.profiles.showProfile(profile);
+ UI.panels.profiles.showProfile(profile);
}
function snapshotReceived(profile)
@@ -88,7 +88,7 @@ function test()
if (errorMessage)
InspectorTest.addResult(errorMessage);
setTimeout(done, 0);
- WebInspector.panels.profiles._reset();
+ UI.panels.profiles._reset();
return !errorMessage;
}

Powered by Google App Engine
This is Rietveld 408576698