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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-loader.html

Issue 147923011: Remove unnecessary _profileTypesByIdMap map (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 6 years, 11 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
Index: LayoutTests/inspector/profiler/heap-snapshot-loader.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-loader.html b/LayoutTests/inspector/profiler/heap-snapshot-loader.html
index f2db1bdbf7f5fc8598feb789826c68bed65a3f7e..cab1103b14d872bf77e9e308f0b60ca9957042b9 100644
--- a/LayoutTests/inspector/profiler/heap-snapshot-loader.html
+++ b/LayoutTests/inspector/profiler/heap-snapshot-loader.html
@@ -16,7 +16,7 @@ function test()
var panel = WebInspector.panels.profiles;
panel._reset();
- var profileType = panel.getProfileType("HEAP");
+ var profileType = WebInspector.ProfileTypeRegistry.instance.heapSnapshotProfileType;
InspectorTest.override(HeapProfilerAgent, "getHeapSnapshot", getHeapSnapshotMock);
function getHeapSnapshotMock(uid, callback) {

Powered by Google App Engine
This is Rietveld 408576698