Index: Source/devtools/front_end/profiler/HeapSnapshotView.js |
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotView.js b/Source/devtools/front_end/profiler/HeapSnapshotView.js |
index af904dddbdcc04288fa9887bc22e9aad750075ad..bda7aaa43fe4fd40bc5a5c0bbb751fd8d5b1b009 100644 |
--- a/Source/devtools/front_end/profiler/HeapSnapshotView.js |
+++ b/Source/devtools/front_end/profiler/HeapSnapshotView.js |
@@ -1225,7 +1225,7 @@ WebInspector.HeapSnapshotProfileType.prototype = { |
profile.title = WebInspector.UIString("Snapshot %d", profile.uid); |
profile._finishLoad(); |
this._profileBeingRecorded = null; |
- WebInspector.panels.profiles.showProfile(profile); |
+ WebInspector.inspectorView.panel("profiles").showProfile(profile); |
callback(); |
} |
HeapProfilerAgent.takeHeapSnapshot(true, didTakeHeapSnapshot.bind(this)); |
@@ -1414,7 +1414,7 @@ WebInspector.TrackingHeapSnapshotProfileType.prototype = { |
profile._finishLoad(); |
this._profileSamples = null; |
this._profileBeingRecorded = null; |
- WebInspector.panels.profiles.showProfile(profile); |
+ WebInspector.inspectorView.panel("profiles").showProfile(profile); |
} |
HeapProfilerAgent.stopTrackingHeapObjects(true, didTakeHeapSnapshot.bind(this)); |