Index: chrome/browser/chromeos/profiles/profile_helper.cc |
diff --git a/chrome/browser/chromeos/profiles/profile_helper.cc b/chrome/browser/chromeos/profiles/profile_helper.cc |
index a9b078c5d983a1d1df3ab24cf8505344fb9fabb7..5f7c3ac368d76f3391e5f5e134732dbc842b3c72 100644 |
--- a/chrome/browser/chromeos/profiles/profile_helper.cc |
+++ b/chrome/browser/chromeos/profiles/profile_helper.cc |
@@ -176,7 +176,7 @@ void ProfileHelper::ProfileStartup(Profile* profile, bool process_startup) { |
// Add observer so we can see when the first profile's session restore is |
// completed. After that, we won't need the default profile anymore. |
if (!IsSigninProfile(profile) && |
- user_manager::UserManager::Get()->IsLoggedInAsRegularUser() && |
+ user_manager::UserManager::Get()->IsLoggedInAsUserWithGaiaAccount() && |
!user_manager::UserManager::Get()->IsLoggedInAsStub()) { |
chromeos::OAuth2LoginManager* login_manager = |
chromeos::OAuth2LoginManagerFactory::GetInstance()->GetForProfile( |