| Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| index d6f193a16532d9a41125b42ce2adc64addf211f4..951b7c89f480745a11710d11c86a5a179164a1a7 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| @@ -77,6 +77,7 @@
|
| #include "content/public/browser/dom_storage_context.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_view.h"
|
| #include "grit/locale_settings.h"
|
| @@ -646,8 +647,8 @@ bool StartupBrowserCreatorImpl::ProcessStartupURLs(
|
| // to start deleting leftover data.
|
| if (pref.type != SessionStartupPref::LAST &&
|
| !HasPendingUncleanExit(profile_)) {
|
| - content::BrowserContext::GetDefaultDOMStorageContext(profile_)->
|
| - StartScavengingUnusedSessionStorage();
|
| + content::BrowserContext::GetDefaultStoragePartition(profile_)->
|
| + GetDOMStorageContext()->StartScavengingUnusedSessionStorage();
|
| }
|
|
|
| return true;
|
|
|