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

Unified Diff: Source/devtools/front_end/profiler/HeapSnapshotView.js

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: 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));

Powered by Google App Engine
This is Rietveld 408576698