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 6b15d47c30070687786d0c18c25232d79de2aa2c..98dd59a45eecfb4414449647dc290025f6c20ed2 100644 |
--- a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc |
@@ -1403,7 +1403,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) { |