Index: ash/wallpaper/wallpaper_controller.cc |
diff --git a/ash/wallpaper/wallpaper_controller.cc b/ash/wallpaper/wallpaper_controller.cc |
index 002449d84d571d28853e5f0d682a09ca1de03767..159890a5a88f809ee2e8786a562a49c682b180c6 100644 |
--- a/ash/wallpaper/wallpaper_controller.cc |
+++ b/ash/wallpaper/wallpaper_controller.cc |
@@ -327,7 +327,7 @@ bool WallpaperController::ReparentWallpaper(int container) { |
root_window_controller->wallpaper_widget_controller(); |
if (wallpaper_widget_controller) { |
moved |= wallpaper_widget_controller->Reparent( |
- root_window_controller->GetWindow(), container); |
+ root_window_controller->GetRootWindow(), container); |
} |
// During wallpaper show animations the controller lives in |
// AnimatingWallpaperWidgetController owned by RootWindowController. |
@@ -341,7 +341,7 @@ bool WallpaperController::ReparentWallpaper(int container) { |
: nullptr; |
if (animating_controller) { |
moved |= animating_controller->Reparent( |
- root_window_controller->GetWindow(), container); |
+ root_window_controller->GetRootWindow(), container); |
} |
} |
return moved; |