| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index b70b68b63be851d85c9830f9e0ac28ad6a206a5f..cd280cd25ebf44f85b695fc3996b9f9f9307dd37 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -380,7 +380,8 @@ void ProfileImpl::DoFinalInit() {
|
| session_restore_enabled_ &&
|
| (!DidLastSessionExitCleanly() ||
|
| CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kRestoreLastSession));
|
| + switches::kRestoreLastSession) ||
|
| + local_state->GetBoolean(prefs::kWasRestarted));
|
|
|
| // Make sure we initialize the ProfileIOData after everything else has been
|
| // initialized that we might be reading from the IO thread.
|
|
|