| Index: ui/app_list/views/apps_grid_view.cc
|
| diff --git a/ui/app_list/views/apps_grid_view.cc b/ui/app_list/views/apps_grid_view.cc
|
| index 1c6f193c818044c20a7ee611d1e161df32919942..b9bced4830d4097d5d4f113d7939636376b188b9 100644
|
| --- a/ui/app_list/views/apps_grid_view.cc
|
| +++ b/ui/app_list/views/apps_grid_view.cc
|
| @@ -1930,10 +1930,10 @@ bool AppsGridView::ReparentItemToAnotherFolder(AppListItemView* item_view,
|
| return true;
|
| }
|
|
|
| -// After moving the re-parenting item out of the folder, if there is only 1 item
|
| -// left, remove the last item out of the folder, delete the folder and insert it
|
| -// to the data model at the same position. Make the same change to view_model_
|
| -// accordingly.
|
| +// After uninstalling or moving the re-parenting item out of the folder, if
|
| +// there is only 1 item left, remove the last item out of the folder, delete the
|
| +// folder and insert it to the data model at the same position. Make the same
|
| +// change to view_model_ accordingly.
|
| void AppsGridView::RemoveLastItemFromReparentItemFolderIfNecessary(
|
| const std::string& source_folder_id) {
|
| AppListFolderItem* source_folder =
|
|
|