| Index: chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
|
| diff --git a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
|
| index 23a39bf7e10301d8e4239b51575cd601a7e6201b..5b35927aeb886d788d3821856ac6e279d6bdd165 100644
|
| --- a/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
|
| +++ b/chrome/browser/chromeos/ui/idle_app_name_notification_view.cc
|
| @@ -54,7 +54,7 @@ const int kWindowCornerRadius = 4;
|
| // Creates and shows the message widget for |view| with |animation_time_ms|.
|
| void CreateAndShowWidget(views::WidgetDelegateView* delegate,
|
| int animation_time_ms) {
|
| - aura::Window* root_window = ash::Shell::GetTargetRootWindow();
|
| + aura::Window* root_window = ash::Shell::GetRootWindowForNewWindows();
|
| gfx::Size rs = root_window->bounds().size();
|
| gfx::Size ps = delegate->GetPreferredSize();
|
| gfx::Rect bounds((rs.width() - ps.width()) / 2,
|
|
|