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 1e43b046f3bf35bc1a06a11358cb2e467d000b2c..0556a2eeb97b98fb11fad8229069f67243d8d451 100644 |
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
@@ -532,6 +532,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(); |
+ |
BootTimesRecorder::Get()->OnChromeProcessStart(); |
// Initialize the network portal detector for Chrome OS. The network |