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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 9764012: Restore to user selected wallpaper after browser crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review and fix a segfault when starting chrome after saving data to local state. Created 8 years, 9 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 b43b5f4858809c4a87dc4bfa5d79a048c6646238..9f9aafc4c186f10ee40069c5c185606396f13e79 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -97,7 +97,7 @@ bool HandleToggleDesktopBackgroundMode() {
ash::DesktopBackgroundController::BACKGROUND_IMAGE)
desktop_background_controller->SetDesktopBackgroundSolidColorMode();
else
- desktop_background_controller->SetPreviousDesktopBackgroundImage();
+ desktop_background_controller->OnUserLoginOrSwitchToImageMode();
flackr 2012/03/22 02:26:09 OnDesktopBackgroundChanged?
bshe 2012/03/22 02:48:11 Done.
return true;
}

Powered by Google App Engine
This is Rietveld 408576698