Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 10459003: Load user custom wallpaper after browser crash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 2762f944573416de07351998dba4e09d1683d458..aec345f5fb027cb49daaf12fe83674b291157678 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -138,8 +138,10 @@ bool HandleToggleDesktopBackgroundMode() {
if (desktop_background_controller->desktop_background_mode() ==
ash::DesktopBackgroundController::BACKGROUND_IMAGE)
desktop_background_controller->SetDesktopBackgroundSolidColorMode();
Nikita (slow) 2012/05/30 17:25:06 Both blocks should have { }
bshe 2012/05/30 23:33:05 Done.
- else
- desktop_background_controller->SetLoggedInUserWallpaper();
+ else {
+ ash::Shell::GetInstance()->user_wallpaper_delegate()->
+ SetLoggedInUserWallpaper();
+ }
return true;
}

Powered by Google App Engine
This is Rietveld 408576698