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: chrome/browser/chromeos/login/user_manager_impl.cc

Issue 9844026: Fix memory uninit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix uninit memory 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
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index 42b8b8eb9a792070ac0dfe2f9c15f5f5f764074d..ac404f0a67c19402b1b6d08e7b97a62936fc2cec 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -441,6 +441,7 @@ void UserManagerImpl::EphemeralUserLoggedIn(const std::string& email) {
void UserManagerImpl::StubUserLoggedIn() {
is_current_user_ephemeral_ = true;
+ current_user_wallpaper_index_ = ash::GetGuestWallpaperIndex();
logged_in_user_ = new User(kStubUser, false);
logged_in_user_->SetImage(GetDefaultImage(kStubDefaultImageIndex),
kStubDefaultImageIndex);
« 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