| Index: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
|
| index 80afb4368ea91ec7c2c75e955e3a43aa421cb142..a447dc37bd944ec9c2aff7f244019b8c4bb945b5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js
|
| @@ -390,9 +390,9 @@ Profiler.HeapSnapshotViewportDataGrid = class extends Profiler.HeapSnapshotSorta
|
| var child = children[i];
|
| if (nameFilterValue && child.filteredOut && child.filteredOut(nameFilterValue))
|
| continue;
|
| - var hasChildren = child.hasChildren;
|
| + var hasChildren = child.hasChildren();
|
| child.removeChildren();
|
| - child.hasChildren = hasChildren;
|
| + child.setHasChildren(hasChildren);
|
| child.revealed = true;
|
| parentNode.appendChild(child);
|
| position += child.nodeSelfHeight();
|
| @@ -602,7 +602,7 @@ Profiler.HeapSnapshotContainmentDataGrid = class extends Profiler.HeapSnapshotSo
|
| */
|
| sortingChanged() {
|
| var rootNode = this.rootNode();
|
| - if (rootNode.hasChildren)
|
| + if (rootNode.hasChildren())
|
| rootNode.sort();
|
| }
|
| };
|
|
|