Index: chrome/browser/ui/webui/quota_internals_handler.cc |
=================================================================== |
--- chrome/browser/ui/webui/quota_internals_handler.cc (revision 152606) |
+++ chrome/browser/ui/webui/quota_internals_handler.cc (working copy) |
@@ -12,6 +12,7 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/webui/quota_internals_proxy.h" |
#include "chrome/browser/ui/webui/quota_internals_types.h" |
+#include "content/public/browser/storage_partition.h" |
#include "content/public/browser/web_ui.h" |
#include "net/base/net_util.h" |
@@ -87,7 +88,8 @@ |
if (!proxy_) |
proxy_ = new QuotaInternalsProxy(this); |
proxy_->RequestInfo( |
- content::BrowserContext::GetQuotaManager(Profile::FromWebUI(web_ui()))); |
+ BrowserContext::GetDefaultStoragePartition( |
+ Profile::FromWebUI(web_ui()))->GetQuotaManager()); |
} |
} // namespace quota_internals |