| Index: chrome/browser/ui/webui/about_ui.cc
|
| diff --git a/chrome/browser/ui/webui/about_ui.cc b/chrome/browser/ui/webui/about_ui.cc
|
| index e6c31837ff5a50c0dfa796575101a070a63e82e6..4cdb3274bfc74e234fcd1da1009b472b789c3323 100644
|
| --- a/chrome/browser/ui/webui/about_ui.cc
|
| +++ b/chrome/browser/ui/webui/about_ui.cc
|
| @@ -38,7 +38,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/ui/browser_dialogs.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/common/chrome_paths.h"
|
| #include "chrome/common/chrome_version_info.h"
|
| @@ -1511,6 +1511,8 @@ AboutUI::AboutUI(content::WebUI* web_ui, const std::string& name)
|
| Profile* profile = Profile::FromWebUI(web_ui);
|
| ChromeURLDataManager::DataSource* source =
|
| new AboutUIHTMLSource(name, profile);
|
| - if (source)
|
| - profile->GetChromeURLDataManager()->AddDataSource(source);
|
| + if (source) {
|
| + ChromeURLDataManagerFactory::GetForProfile(profile)->
|
| + AddDataSource(source);
|
| + }
|
| }
|
|
|