Index: chrome/browser/ui/webui/quota_internals_handler.cc |
diff --git a/chrome/browser/ui/webui/quota_internals_handler.cc b/chrome/browser/ui/webui/quota_internals_handler.cc |
index f1322b8848c8633cf05839dfde58bff999ff343a..bb874de8fe22d624062b7a85212feb3b5d82ad9b 100644 |
--- a/chrome/browser/ui/webui/quota_internals_handler.cc |
+++ b/chrome/browser/ui/webui/quota_internals_handler.cc |
@@ -82,7 +82,7 @@ void QuotaInternalsHandler::SendMessage(const std::string& message, |
void QuotaInternalsHandler::OnRequestInfo(const base::ListValue*) { |
if (!proxy_) |
proxy_ = new QuotaInternalsProxy(this); |
- proxy_->RequestInfo(web_ui_->GetProfile()->GetQuotaManager()); |
+ proxy_->RequestInfo(Profile::FromWebUI(web_ui_)->GetQuotaManager()); |
} |
} // namespace quota_internals |