| Index: Source/devtools/front_end/HeapSnapshotDataGrids.js
|
| diff --git a/Source/devtools/front_end/HeapSnapshotDataGrids.js b/Source/devtools/front_end/HeapSnapshotDataGrids.js
|
| index 877617d237420d0b3a03a3623aff8f91c5f79d66..56e7054d027acc984c97e4f37196e96fd730bea9 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
|
| }
|
|
|
|
|