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 20670e3782c8da8206a9d29202249de67e4d1bac..6b7ee7351048d9725ab644c43b189aeb680e6ea5 100644 |
--- a/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js |
+++ b/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js |
@@ -1001,7 +1001,7 @@ WebInspector.HeapSnapshotDominatorsDataGrid.prototype = { |
{ |
this.snapshot = snapshot; |
- var fakeNode = { nodeIndex: this.snapshot.rootNodeIndex }; |
+ var fakeNode = new WebInspector.HeapSnapshotCommon.Node(-1, "", 0, this.snapshot.rootNodeIndex, 0, 0, ""); |
this.setRootNode(new WebInspector.HeapSnapshotDominatorObjectNode(this, fakeNode)); |
this.rootNode().sort(); |