| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 6b1932f1567dc563119adb121399eae1894838b9..bc8980667b2d1bfb2a44e576aaaeff76c899fa0f 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -595,12 +595,9 @@ void ProfileImpl::DoFinalInit() {
|
| base::Bind(&EnsureReadmeFile, GetPath()),
|
| base::TimeDelta::FromMilliseconds(create_readme_delay_ms));
|
|
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kDisableRestoreSessionState)) {
|
| - TRACE_EVENT0("browser", "ProfileImpl::SetSaveSessionStorageOnDisk")
|
| - content::BrowserContext::GetDefaultStoragePartition(this)->
|
| - GetDOMStorageContext()->SetSaveSessionStorageOnDisk();
|
| - }
|
| + TRACE_EVENT0("browser", "ProfileImpl::SetSaveSessionStorageOnDisk");
|
| + content::BrowserContext::GetDefaultStoragePartition(this)->
|
| + GetDOMStorageContext()->SetSaveSessionStorageOnDisk();
|
|
|
| // Creation has been finished.
|
| if (delegate_) {
|
|
|