Index: chrome/browser/chromeos/login/user_manager_impl.cc |
=================================================================== |
--- chrome/browser/chromeos/login/user_manager_impl.cc (revision 128686) |
+++ chrome/browser/chromeos/login/user_manager_impl.cc (working copy) |
@@ -914,8 +914,8 @@ |
const DictionaryValue* user_wallpapers = |
local_state->GetDictionary(UserManager::kUserWallpapers); |
int index = ash::GetDefaultWallpaperIndex(); |
- if (!user_wallpapers->GetIntegerWithoutPathExpansion(username, &index)) |
- SaveWallpaperDefaultIndex(username, index); |
+ user_wallpapers->GetIntegerWithoutPathExpansion(username, |
+ &index); |
return index; |
} |