Index: Source/devtools/front_end/HeapSnapshotDataGrids.js |
diff --git a/Source/devtools/front_end/HeapSnapshotDataGrids.js b/Source/devtools/front_end/HeapSnapshotDataGrids.js |
index c42ae4be7680905953ee223c3b05ba5a8a09a0ba..92e7d08563f41280312aee8f9dbefc1e5d23efb1 100644 |
--- a/Source/devtools/front_end/HeapSnapshotDataGrids.js |
+++ b/Source/devtools/front_end/HeapSnapshotDataGrids.js |
@@ -791,6 +791,16 @@ WebInspector.HeapSnapshotConstructorsDataGrid.prototype = { |
}, |
/** |
+ * @param {number} allocationNodeId |
+ */ |
+ setAllocationNodeId: function(allocationNodeId) |
+ { |
+ var filter = new WebInspector.HeapSnapshotCommon.NodeFilter(); |
+ filter.allocationNodeId = allocationNodeId; |
+ this._populateChildren(filter); |
+ }, |
+ |
+ /** |
* @param {!WebInspector.HeapSnapshotCommon.NodeFilter} nodeFilter |
* @param {!Object.<string, !WebInspector.HeapSnapshotCommon.Aggregate>} aggregates |
*/ |
@@ -1190,6 +1200,14 @@ WebInspector.AllocationGridNode.prototype = { |
return cell; |
}, |
+ /** |
+ * @return {number} |
+ */ |
+ allocationNodeId: function() |
+ { |
+ return this.data.id; |
+ }, |
+ |
__proto__: WebInspector.DataGridNode.prototype |
} |