Web Inspector: REGRESSION: Resources: WI.TreeOutline assertions when refreshing the...
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Feb 2019 01:08:40 +0000 (01:08 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Feb 2019 01:08:40 +0000 (01:08 +0000)
commitb2f34aff3e9c11e5f36cba4e50b3fdc76f9e0a72
treef00b703cae3b24ff1680b025a2a3ffa1d8b6539a
parent4c82c45f36a192e5ca52af6e25ec1326b438c22a
Web Inspector: REGRESSION: Resources: WI.TreeOutline assertions when refreshing the page
https://bugs.webkit.org/show_bug.cgi?id=194242
<rdar://problem/47802027>

Reviewed by Joseph Pecoraro.

* UserInterface/Views/FolderizedTreeElement.js:
(WI.FolderizedTreeElement.prototype.removeChildren):
FolderTreeElements are removed by the base class call to removeChildren.
Calling `removeChildren` for detached TreeElements is unnecessary.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/FolderizedTreeElement.js