-
achicu@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=122926 Reviewed by Timothy Hatcher. Refactored the code in FrameTreeElement._shouldGroupIntoFolders to make it easy to track more types of resources. Added the content flows as another type of resource that would trigger the collapsing. * UserInterface/DOMTreeManager.js: (WebInspector.DOMTreeManager.prototype.namedFlowRemoved): Added code to remove the content nodes from a flow that has been removed. * UserInterface/FrameTreeElement.js: (WebInspector.FrameTreeElement.prototype._shouldGroupIntoFolders.pushCategory): (WebInspector.FrameTreeElement.prototype._shouldGroupIntoFolders.pushResourceType): (WebInspector.FrameTreeElement.prototype._shouldGroupIntoFolders): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7be8319f