Index: ash/system/toast/toast_overlay.cc |
diff --git a/ash/system/toast/toast_overlay.cc b/ash/system/toast/toast_overlay.cc |
index a653304d3b767555958c6a012df4fe9a1bce6879..d82561780176b772d825707b04a473f3bae7be68 100644 |
--- a/ash/system/toast/toast_overlay.cc |
+++ b/ash/system/toast/toast_overlay.cc |
@@ -215,7 +215,7 @@ ToastOverlay::ToastOverlay(Delegate* delegate, |
params.remove_standard_frame = true; |
params.bounds = CalculateOverlayBounds(); |
// Show toasts above the app list and below the lock screen. |
- GetRootWindowController(Shell::GetRootWindowForNewWindows()) |
+ RootWindowController::ForWindow(Shell::GetRootWindowForNewWindows()) |
->ConfigureWidgetInitParamsForContainer( |
overlay_widget_.get(), kShellWindowId_SystemModalContainer, ¶ms); |
overlay_widget_->Init(params); |