Index: third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js |
index e83ecc02250e6abeac606dcb77585a5dadacfa76..e3dbb40482242caab57f129a3c400c88c20d0538 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js |
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js |
@@ -813,12 +813,12 @@ Network.NetworkLogView = class extends UI.VBox { |
node[Network.NetworkLogView._isFilteredOutSymbol] = isFilteredOut; |
var newParent = this._parentNodeForInsert(node); |
- var removeFromParent = node.parent && (isFilteredOut || node.parent !== newParent); |
+ var removeFromParent = node.parent() && (isFilteredOut || node.parent() !== newParent); |
if (removeFromParent) { |
- var parent = node.parent; |
+ var parent = node.parent(); |
parent.removeChild(node); |
while (parent && !parent.hasChildren() && parent.dataGrid && parent.dataGrid.rootNode() !== parent) { |
- var grandparent = parent.parent; |
+ var grandparent = parent.parent(); |
grandparent.removeChild(parent); |
parent = grandparent; |
} |