Index: chrome/browser/browsing_data/browsing_data_local_storage_helper.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_local_storage_helper.cc b/chrome/browser/browsing_data/browsing_data_local_storage_helper.cc |
index 820f63fcab75d57dd1a641a27727d22a5c3cce2d..e4e5988bd6b2ca9903b1ecb94571b297c2fb2dc2 100644 |
--- a/chrome/browser/browsing_data/browsing_data_local_storage_helper.cc |
+++ b/chrome/browser/browsing_data/browsing_data_local_storage_helper.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/dom_storage_context.h" |
+#include "content/public/browser/storage_partition.h" |
using content::BrowserContext; |
using content::BrowserThread; |
@@ -25,7 +26,8 @@ BrowsingDataLocalStorageHelper::LocalStorageInfo::~LocalStorageInfo() {} |
BrowsingDataLocalStorageHelper::BrowsingDataLocalStorageHelper( |
Profile* profile) |
: dom_storage_context_( |
- BrowserContext::GetDefaultDOMStorageContext(profile)), |
+ BrowserContext::GetDefaultStoragePartition(profile)-> |
+ GetDOMStorageContext()), |
is_fetching_(false) { |
DCHECK(dom_storage_context_); |
} |