summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-21 23:14:59 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-21 23:14:59 +0000
commiteff2af43a384fb9e2ba9f25272f2e72fbd9af0da (patch)
treefc20267ddc230b206ddb405f59796ec33d82c48d
parent993beb224ead657415d3daf8f839e47cea3d091c (diff)
downloadchromium_src-eff2af43a384fb9e2ba9f25272f2e72fbd9af0da.zip
chromium_src-eff2af43a384fb9e2ba9f25272f2e72fbd9af0da.tar.gz
chromium_src-eff2af43a384fb9e2ba9f25272f2e72fbd9af0da.tar.bz2
Guest wallpaper setting is getting ignored.
BUG=151578 Review URL: https://codereview.chromium.org/10968045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158117 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/chromeos/login/wallpaper_manager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/login/wallpaper_manager.cc b/chrome/browser/chromeos/login/wallpaper_manager.cc
index 0fa1587..34a55bf 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.cc
+++ b/chrome/browser/chromeos/login/wallpaper_manager.cc
@@ -585,6 +585,7 @@ void WallpaperManager::SetUserWallpaper(const std::string& email) {
if (email == kGuestUser) {
ash::Shell::GetInstance()->desktop_background_controller()->
SetDefaultWallpaper(ash::GetGuestWallpaperIndex(), false);
+ return;
}
if (!UserManager::Get()->IsKnownUser(email))