Index: chrome/browser/chromeos/login/managed/supervised_user_authentication.cc |
diff --git a/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc b/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc |
index 968bc18d57faba9c098808f67d6d13d3b6169945..1e68ec8ab17e7c001ed70a4965d8e73ab448592d 100644 |
--- a/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc |
+++ b/chrome/browser/chromeos/login/managed/supervised_user_authentication.cc |
@@ -223,7 +223,7 @@ bool SupervisedUserAuthentication::NeedPasswordChange( |
void SupervisedUserAuthentication::ScheduleSupervisedPasswordChange( |
const std::string& supervised_user_id, |
const base::DictionaryValue* password_data) { |
- const User* user = UserManager::Get()->FindUser(supervised_user_id); |
+ const User* user = GetUserManager()->FindUser(supervised_user_id); |
base::FilePath profile_path = ProfileHelper::GetProfilePathByUserIdHash( |
user->username_hash()); |
JSONFileValueSerializer serializer(profile_path.Append(kPasswordUpdateFile)); |
@@ -280,7 +280,7 @@ void SupervisedUserAuthentication::LoadPasswordUpdateData( |
const std::string& user_id, |
const PasswordDataCallback& success_callback, |
const base::Closure& failure_callback) { |
- const User* user = UserManager::Get()->FindUser(user_id); |
+ const User* user = GetUserManager()->FindUser(user_id); |
base::FilePath profile_path = |
ProfileHelper::GetProfilePathByUserIdHash(user->username_hash()); |
PostTaskAndReplyWithResult( |