Index: chrome/browser/ui/webui/help/help_ui.cc |
diff --git a/chrome/browser/ui/webui/help/help_ui.cc b/chrome/browser/ui/webui/help/help_ui.cc |
index 94cb33d04f77f7ea8db3af8a558da10b49517c7d..0c53d19f00bb960e745d0600057044ae39c952a4 100644 |
--- a/chrome/browser/ui/webui/help/help_ui.cc |
+++ b/chrome/browser/ui/webui/help/help_ui.cc |
@@ -32,9 +32,8 @@ HelpUI::HelpUI(content::WebUI* web_ui) |
: WebUIController(web_ui) { |
Profile* profile = Profile::FromWebUI(web_ui); |
ChromeWebUIDataSource* source = CreateAboutPageHTMLSource(); |
- profile->GetChromeURLDataManager()->AddDataSource(source); |
- profile->GetChromeURLDataManager()->AddDataSource( |
- new SharedResourcesDataSource()); |
+ ChromeURLDataManager::AddDataSource(profile, source); |
+ ChromeURLDataManager::AddDataSource(profile, new SharedResourcesDataSource()); |
HelpHandler* handler = new HelpHandler(); |
handler->GetLocalizedValues(source->localized_strings()); |