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

Unified Diff: Source/devtools/front_end/profiler/HeapSnapshotDataGrids.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/HeapSnapshotDataGrids.js
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js b/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
index 1badba6770363c097a8832c0e614742203504275..4777c26d5dd15536bf612b7cdfad7a51cb1f799e 100644
--- a/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
+++ b/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
@@ -127,11 +127,11 @@ WebInspector.HeapSnapshotSortableDataGrid.prototype = {
var node = td.heapSnapshotNode;
function revealInDominatorsView()
{
- WebInspector.panels.profiles.showObject(node.snapshotNodeId, "Dominators");
+ WebInspector.inspectorView.panel("profiles").showObject(node.snapshotNodeId, "Dominators");
}
function revealInSummaryView()
{
- WebInspector.panels.profiles.showObject(node.snapshotNodeId, "Summary");
+ WebInspector.inspectorView.panel("profiles").showObject(node.snapshotNodeId, "Summary");
}
if(node instanceof WebInspector.HeapSnapshotRetainingObjectNode) {
contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Reveal in Summary view" : "Reveal in Summary View"), revealInSummaryView);

Powered by Google App Engine
This is Rietveld 408576698