Index: chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc |
index 16b43ba834c97388805cf22b70fc7cb2a516ee7a..84d8d7b9f17b605ec47273693b65bd802b34337c 100644 |
--- a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc |
@@ -1402,7 +1402,7 @@ MobileSetupUI::MobileSetupUI(content::WebUI* web_ui) |
// Set up the chrome://mobilesetup/ source. |
Profile* profile = Profile::FromWebUI(web_ui); |
- profile->GetChromeURLDataManager()->AddDataSource(html_source); |
+ ChromeURLDataManager::AddDataSource(profile, html_source); |
} |
void MobileSetupUI::RenderViewCreated(RenderViewHost* host) { |