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

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

Issue 198833008: Update constructors view when switching perspectives (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/devtools/front_end/HeapSnapshotDataGrids.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/HeapSnapshotView.js
diff --git a/Source/devtools/front_end/HeapSnapshotView.js b/Source/devtools/front_end/HeapSnapshotView.js
index 507a0897604c09240123a178dd07aaf5f5b1d1aa..0c0f2f09700093a77088616bf73c3e334040f77d 100644
--- a/Source/devtools/front_end/HeapSnapshotView.js
+++ b/Source/devtools/front_end/HeapSnapshotView.js
@@ -225,6 +225,7 @@ WebInspector.HeapSnapshotView.SummaryPerspective.prototype = {
if (heapSnapshotView._trackingOverviewGrid) {
heapSnapshotView._trackingOverviewGrid.show(heapSnapshotView.element, heapSnapshotView._splitView.element);
heapSnapshotView._trackingOverviewGrid.update();
+ heapSnapshotView._trackingOverviewGrid._updateGrid();
}
},
@@ -386,6 +387,11 @@ WebInspector.HeapSnapshotView.AllocationPerspective.prototype = {
heapSnapshotView._retainmentView.show(heapSnapshotView._splitView.sidebarElement());
heapSnapshotView._splitView.show(this._allocationSplitView.sidebarElement());
this._allocationSplitView.show(heapSnapshotView.element);
+
+ heapSnapshotView._constructorsDataGrid.clear();
+ var selectedNode = heapSnapshotView._allocationDataGrid.selectedNode;
+ if (selectedNode)
+ heapSnapshotView._constructorsDataGrid.setAllocationNodeId(selectedNode.allocationNodeId());
},
/**
« no previous file with comments | « Source/devtools/front_end/HeapSnapshotDataGrids.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698