| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 259a4e0d336313865bc4deefe8ba63f3ea4aac7f..ff2725ccb93433a22b590c5ccaf9ff39ea23c04f 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -85,6 +85,7 @@
|
| #include "content/public/browser/host_zoom_map.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/render_process_host.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/user_metrics.h"
|
| #include "grit/chromium_strings.h"
|
| #include "grit/generated_resources.h"
|
| @@ -424,8 +425,8 @@ void ProfileImpl::DoFinalInit(bool is_new_profile) {
|
|
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableRestoreSessionState)) {
|
| - content::BrowserContext::GetDefaultDOMStorageContext(this)->
|
| - SetSaveSessionStorageOnDisk();
|
| + content::BrowserContext::GetDefaultStoragePartition(this)->
|
| + GetDOMStorageContext()->SetSaveSessionStorageOnDisk();
|
| }
|
|
|
| // Creation has been finished.
|
|
|