| Index: ash/app_list/app_list_presenter_delegate.cc
|
| diff --git a/ash/app_list/app_list_presenter_delegate.cc b/ash/app_list/app_list_presenter_delegate.cc
|
| index b4d2c3ab28bf698a6e411e1dffd462c1a25dba32..a9d89e15986376b27089b1d9ae16c2897a0343a8 100644
|
| --- a/ash/app_list/app_list_presenter_delegate.cc
|
| +++ b/ash/app_list/app_list_presenter_delegate.cc
|
| @@ -122,11 +122,7 @@ void AppListPresenterDelegate::Init(app_list::AppListView* view,
|
| container, current_apps_page,
|
| ScreenUtil::GetDisplayWorkAreaBoundsInParent(container));
|
| } else {
|
| - // Note: We can't center the app list until we have its dimensions, so we
|
| - // init at (0, 0) and then reset its anchor point.
|
| - view->InitAsBubbleAtFixedLocation(container, current_apps_page,
|
| - gfx::Point(), views::BubbleBorder::FLOAT,
|
| - true /* border_accepts_events */);
|
| + view->InitAsBubble(container, current_apps_page);
|
| // The app list is centered over the display of the app list button that was
|
| // pressed (if triggered via keyboard, this is the display with the
|
| // currently focused window).
|
|
|