| 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..70fd8a73dba251296546e09d38876465acffef03 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() == LARGE)
|
| + controller->SetDefaultWallpaper(kDefaultLargeWallpaper);
|
| + else
|
| + controller->SetDefaultWallpaper(kDefaultSmallWallpaper);
|
|
|
| ash::Shell::GetPrimaryRootWindow()->ShowRootWindow();
|
| }
|
|
|