| Index: ui/app_list/views/apps_container_view.cc
|
| diff --git a/ui/app_list/views/apps_container_view.cc b/ui/app_list/views/apps_container_view.cc
|
| index 7e5adf7a16d37408d95e131f6ad43bc345d94291..0a39ac24b3e4e11b615b715bbef361589c955689 100644
|
| --- a/ui/app_list/views/apps_container_view.cc
|
| +++ b/ui/app_list/views/apps_container_view.cc
|
| @@ -30,8 +30,8 @@
|
| apps_grid_view_ = new AppsGridView(app_list_main_view, pagination_model);
|
| int cols = kPreferredCols;
|
| int rows = kPreferredRows;
|
| - // ShouldCenterWindow also implies that it is wide instead of tall.
|
| - if (app_list_main_view->ShouldCenterWindow()) {
|
| + // IsCenteredAppListEnabled also implies that it is wide instead of tall.
|
| + if (app_list::switches::IsCenteredAppListEnabled()) {
|
| cols = kExperimentalPreferredCols;
|
| rows = kExperimentalPreferredRows;
|
| }
|
|
|