| Index: third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
|
| index b63999f89bea63d8c0e0e3cda66fb1f44df69cf4..4ffffd88ff2afd51101723710ffdea76ae247356 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/ViewportDataGrid.js
|
| @@ -346,7 +346,7 @@ UI.ViewportDataGridNode = class extends UI.DataGridNode {
|
| child.parent = this;
|
| child.dataGrid = this.dataGrid;
|
| if (!this.children.length)
|
| - this.hasChildren = true;
|
| + this.setHasChildren(true);
|
| this.children.splice(index, 0, child);
|
| child.recalculateSiblings(index);
|
| if (this._expanded)
|
| @@ -370,7 +370,7 @@ UI.ViewportDataGridNode = class extends UI.DataGridNode {
|
| child._unlink();
|
| this.children.remove(child, true);
|
| if (!this.children.length)
|
| - this.hasChildren = false;
|
| + this.setHasChildren(false);
|
| if (this._expanded)
|
| this.dataGrid.scheduleUpdateStructure();
|
| }
|
|
|