Index: ui/app_list/views/app_list_folder_view.cc |
diff --git a/ui/app_list/views/app_list_folder_view.cc b/ui/app_list/views/app_list_folder_view.cc |
index c7958406b6c0c54875b669c86d0049a0fb99028e..015f72c82137b897ba3808d7f2d55b4aa2b5a816 100644 |
--- a/ui/app_list/views/app_list_folder_view.cc |
+++ b/ui/app_list/views/app_list_folder_view.cc |
@@ -141,7 +141,7 @@ void AppListFolderView::OnAppListItemWillBeDeleted(AppListItem* item) { |
folder_item_ = NULL; |
// Do not change state if it is hidden. |
- if (layer()->opacity() == 0.0f) |
+ if (hide_for_reparent_ || layer()->opacity() == 0.0f) |
xiyuan
2014/04/09 22:16:02
Do we still need to test opacity?
jennyz
2014/04/09 22:24:49
The opacity test covers the case folder page is no
|
return; |
// If the folder item associated with this view is removed from the model, |