| Index: ash/common/system/toast/toast_overlay.cc
|
| diff --git a/ash/common/system/toast/toast_overlay.cc b/ash/common/system/toast/toast_overlay.cc
|
| index 868834144974974ef1a097a16d19d23660aec867..8aef72b4e87a2bc84103eb45c7d7a16b4a15d307 100644
|
| --- a/ash/common/system/toast/toast_overlay.cc
|
| +++ b/ash/common/system/toast/toast_overlay.cc
|
| @@ -56,7 +56,7 @@ const int kToastMinimumWidth = 288;
|
| // (including new toasts).
|
| gfx::Rect GetUserWorkAreaBounds() {
|
| return WmShell::Get()
|
| - ->GetRootWindowForNewWindows()
|
| + ->root_window_for_new_windows()
|
| ->GetRootWindowController()
|
| ->GetShelf()
|
| ->GetUserWorkAreaBounds();
|
| @@ -226,7 +226,7 @@ ToastOverlay::ToastOverlay(Delegate* delegate,
|
| params.bounds = CalculateOverlayBounds();
|
| // Show toasts above the app list and below the lock screen.
|
| WmShell::Get()
|
| - ->GetRootWindowForNewWindows()
|
| + ->root_window_for_new_windows()
|
| ->GetRootWindowController()
|
| ->ConfigureWidgetInitParamsForContainer(
|
| overlay_widget_.get(), kShellWindowId_SystemModalContainer, ¶ms);
|
|
|