Chromium Code Reviews| Index: ash/accelerators/accelerator_controller.cc |
| diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
| index fa8192731902c46b30ceb9f4b9bfd183d92c1ff0..278bcb243a154bee13842960f0380b6c29e1fc7c 100644 |
| --- a/ash/accelerators/accelerator_controller.cc |
| +++ b/ash/accelerators/accelerator_controller.cc |
| @@ -151,10 +151,12 @@ bool HandleToggleDesktopBackgroundMode() { |
| ash::DesktopBackgroundController* desktop_background_controller = |
| ash::Shell::GetInstance()->desktop_background_controller(); |
| if (desktop_background_controller->desktop_background_mode() == |
| - ash::DesktopBackgroundController::BACKGROUND_IMAGE) |
| + ash::DesktopBackgroundController::BACKGROUND_IMAGE) { |
| desktop_background_controller->SetDesktopBackgroundSolidColorMode(); |
| - else |
| - desktop_background_controller->SetLoggedInUserWallpaper(); |
| +} else { |
|
sky
2012/05/31 00:20:31
nit: spacing is off here.
|
| + ash::Shell::GetInstance()->user_wallpaper_delegate()-> |
| + SetLoggedInUserWallpaper(); |
| + } |
| return true; |
| } |