Remove persistent app list folders when they become empty
In crrev.com/c/1454156 the checks in AppsGridView::ReparentItemForReorder and AppsGridView::ReparentItemToAnotherFolder to see if a folder would be deleted by removing an app was broken for persistent folders. This would cause the model for the folder to be deleted, while the view remained in place. Interacting with the empty folder would then cause a null dereference and crash chrome. Bug: 1009989 Change-Id: Ief7bc007683b38d536aabb1418d8142e5c0f7702 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1837556Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Fergus Dall <sidereal@google.com> Cr-Commit-Position: refs/heads/master@{#702884}
Showing
Please register or sign in to comment