| 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..5e4b1c104116190a4873b065968966d1aaf8e2f6 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -300,6 +300,11 @@ ProfileImpl::ProfileImpl(const FilePath& path,
|
| } else {
|
| NOTREACHED();
|
| }
|
| +
|
| + if (command_line->HasSwitch(switches::kEnableRestoreSessionState)) {
|
| + bool success = BrowserContext::SetSaveSessionStorageOnDisk(this, true);
|
| + DCHECK(success);
|
| + }
|
| }
|
|
|
| void ProfileImpl::DoFinalInit(bool is_new_profile) {
|
|
|