Index: chrome/browser/chromeos/app_mode/startup_app_launcher.cc |
diff --git a/chrome/browser/chromeos/app_mode/startup_app_launcher.cc b/chrome/browser/chromeos/app_mode/startup_app_launcher.cc |
index d738eca79d0afc611a4cb90f5e05953224735875..319e9aa52129654a61e09551799b5e513dac1363 100644 |
--- a/chrome/browser/chromeos/app_mode/startup_app_launcher.cc |
+++ b/chrome/browser/chromeos/app_mode/startup_app_launcher.cc |
@@ -153,7 +153,8 @@ void StartupAppLauncher::InitializeTokenService() { |
ProfileOAuth2TokenService* profile_token_service = |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_); |
- if (profile_token_service->RefreshTokenIsAvailable()) { |
+ if (profile_token_service->RefreshTokenIsAvailable( |
+ profile_token_service->GetPrimaryAccountId())) { |
InitializeNetwork(); |
return; |
} |