| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 97e312bac0e22fb3289aa0bcaa053f1bb5bae0d7..7278ff53b75f976b2151a8abb97001d083167b72 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -300,6 +300,9 @@ ProfileImpl::ProfileImpl(const FilePath& path,
|
| } else {
|
| NOTREACHED();
|
| }
|
| +
|
| + if (command_line->HasSwitch(switches::kEnableRestoreSessionState))
|
| + SetSaveSessionStorageOnDisk(true);
|
| }
|
|
|
| void ProfileImpl::DoFinalInit(bool is_new_profile) {
|
|
|