| 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 52034d8c024b4de49027bdab98b83935e43982c5..d11a0503554cffdb80c8bd14e67da75e1e842837 100644
|
| --- a/ui/app_list/views/apps_grid_view.cc
|
| +++ b/ui/app_list/views/apps_grid_view.cc
|
| @@ -1989,8 +1989,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) {
|
|
|