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 e332863a813b1f1d7b9fed0a3fbe79dc075d7f90..fc4f2a98009e685bcdb54d4bcbd1d07b8577f7a3 100644 |
--- a/chrome/browser/chromeos/login/user_manager_impl.cc |
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc |
@@ -559,7 +559,7 @@ const User* UserManagerImpl::GetPrimaryUser() const { |
User* UserManagerImpl::GetUserByProfile(Profile* profile) const { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- if (ProfileHelper::IsSigninProfile(profile)) |
+ if (profile->IsLoginProfile()) |
return NULL; |
if (IsMultipleProfilesAllowed()) { |