| 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..2170b9b9f9bb5dd8cd6f0625577cf07b6ddc67f2 100644
|
| --- a/chrome/browser/ui/webui/about_ui.cc
|
| +++ b/chrome/browser/ui/webui/about_ui.cc
|
| @@ -1511,6 +1511,7 @@ 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) {
|
| + ChromeURLDataManager::AddDataSource(profile, source);
|
| + }
|
| }
|
|
|