Index: ash/shell/content_client/shell_browser_main_parts.cc |
diff --git a/ash/shell/content_client/shell_browser_main_parts.cc b/ash/shell/content_client/shell_browser_main_parts.cc |
index 872f352d5763ce9036b6fcef0217279a749f0afb..a3f5c8d404e857efe75ed982bc2148d0a61e8b49 100644 |
--- a/ash/shell/content_client/shell_browser_main_parts.cc |
+++ b/ash/shell/content_client/shell_browser_main_parts.cc |
@@ -102,7 +102,12 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() { |
ash::shell::InitWindowTypeLauncher(); |
- Shell::GetInstance()->desktop_background_controller()->SetDefaultWallpaper(0); |
+ DesktopBackgroundController* controller = |
+ Shell::GetInstance()->desktop_background_controller(); |
+ if (controller->GetAppropriateResolution() == WALLPAPER_RESOLUTION_LARGE) |
+ controller->SetDefaultWallpaper(kDefaultLargeWallpaper); |
+ else |
+ controller->SetDefaultWallpaper(kDefaultSmallWallpaper); |
ash::Shell::GetPrimaryRootWindow()->ShowRootWindow(); |
} |