Index: chrome/browser/ui/webui/extensions/extensions_ui.cc |
diff --git a/chrome/browser/ui/webui/extensions/extensions_ui.cc b/chrome/browser/ui/webui/extensions/extensions_ui.cc |
index 072cecaa4c226be66cb37a75335f1156b78b8316..71c05b913c75ff0e5312772d515931c2e8bba72d 100644 |
--- a/chrome/browser/ui/webui/extensions/extensions_ui.cc |
+++ b/chrome/browser/ui/webui/extensions/extensions_ui.cc |
@@ -36,9 +36,8 @@ ChromeWebUIDataSource* CreateExtensionsHTMLSource() { |
ExtensionsUI::ExtensionsUI(content::WebUI* web_ui) : WebUIController(web_ui) { |
Profile* profile = Profile::FromWebUI(web_ui); |
ChromeWebUIDataSource* source = CreateExtensionsHTMLSource(); |
- profile->GetChromeURLDataManager()->AddDataSource(source); |
- profile->GetChromeURLDataManager()->AddDataSource( |
- new SharedResourcesDataSource()); |
+ ChromeURLDataManager::AddDataSource(profile, source); |
+ ChromeURLDataManager::AddDataSource(profile, new SharedResourcesDataSource()); |
ExtensionSettingsHandler* handler = new ExtensionSettingsHandler(); |
handler->GetLocalizedValues(source->localized_strings()); |