| Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| index f4d2074d6ec23f9dbf02621a9b7bc9bbc0198603..397157ce79569dd4418e21caacdaa1951f430f9e 100644
|
| --- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| +++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
| @@ -609,6 +609,12 @@ void ChromeBrowserMainPartsChromeos::PostProfileInit() {
|
| // -- This used to be in ChromeBrowserMainParts::PreMainMessageLoopRun()
|
| // -- just after CreateProfile().
|
|
|
| + // Force loading of signin profile if it was not loaded before. It is possible
|
| + // when we are restoring session or skipping login screen for some other
|
| + // reason.
|
| + if (!chromeos::ProfileHelper::IsSigninProfile(profile()))
|
| + chromeos::ProfileHelper::GetSigninProfile();
|
| +
|
| // Restarting Chrome inside existing user session. Possible cases:
|
| // 1. Chrome is restarted after crash.
|
| // 2. Chrome is started in browser_tests skipping the login flow
|
|
|