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

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.cc

Issue 9835080: Revert 128663 - Linux ChromiumOS Tester crashing in OnDesktopBackgroundChanged() from GetUserWallpa… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698