Index: chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc |
=================================================================== |
--- chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc (revision 152606) |
+++ chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc (working copy) |
@@ -12,16 +12,19 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/browser/browsing_data/browsing_data_helper.h" |
+#include "content/public/browser/browser_context.h" |
+#include "content/public/browser/storage_partition.h" |
#include "webkit/quota/quota_manager.h" |
using content::BrowserThread; |
+using content::BrowserContext; |
// static |
BrowsingDataQuotaHelper* BrowsingDataQuotaHelper::Create(Profile* profile) { |
return new BrowsingDataQuotaHelperImpl( |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI), |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO), |
- content::BrowserContext::GetQuotaManager(profile)); |
+ BrowserContext::GetDefaultStoragePartition(profile)->GetQuotaManager()); |
} |
void BrowsingDataQuotaHelperImpl::StartFetching( |