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 908d818db347777eee57c18a2b8150a91af96ed7..8ed6a9fec2d45609034a3db31919464689e44e12 100644 |
--- a/chrome/browser/ui/webui/about_ui.cc |
+++ b/chrome/browser/ui/webui/about_ui.cc |
@@ -1459,6 +1459,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); |
+ } |
} |