| 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 d97d6359f75c1c59f5bf696b5f7ddebfc8c06da9..24383e0f5e86fd30d22c2f7a42862fc6f1c4ac7a 100644
|
| --- a/ui/app_list/views/apps_grid_view.cc
|
| +++ b/ui/app_list/views/apps_grid_view.cc
|
| @@ -1993,8 +1993,8 @@ void AppsGridView::OnImplicitAnimationsCompleted() {
|
| bool AppsGridView::EnableFolderDragDropUI() {
|
| // Enable drag and drop folder UI only if it is at the app list root level
|
| // and the switch is on and the target folder can still accept new items.
|
| - return switches::IsFolderUIEnabled() && !folder_delegate_ &&
|
| - CanDropIntoTarget(drop_target_);
|
| + return model_->folders_enabled() && !folder_delegate_ &&
|
| + CanDropIntoTarget(drop_target_);
|
| }
|
|
|
| bool AppsGridView::CanDropIntoTarget(const Index& drop_target) {
|
|
|