| Index: chrome/browser/ui/webui/quota_internals_ui.cc
|
| diff --git a/chrome/browser/ui/webui/quota_internals_ui.cc b/chrome/browser/ui/webui/quota_internals_ui.cc
|
| index 9f437e4fbb6ebba607e90d76d536d08bc7a9cb97..9696d554140e702d8a1f6d18eae5156b3d4c9108 100644
|
| --- a/chrome/browser/ui/webui/quota_internals_ui.cc
|
| +++ b/chrome/browser/ui/webui/quota_internals_ui.cc
|
| @@ -7,7 +7,7 @@
|
| #include <string>
|
|
|
| #include "chrome/browser/profiles/profile.h"
|
| -#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| +#include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h"
|
| #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h"
|
| #include "chrome/browser/ui/webui/quota_internals_handler.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -40,6 +40,6 @@ QuotaInternalsUI::QuotaInternalsUI(content::WebUI* web_ui)
|
| : WebUIController(web_ui) {
|
| web_ui->AddMessageHandler(new quota_internals::QuotaInternalsHandler);
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| - profile->GetChromeURLDataManager()->AddDataSource(
|
| - CreateQuotaInternalsHTMLSource());
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->
|
| + AddDataSource(CreateQuotaInternalsHTMLSource());
|
| }
|
|
|