Index: chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
index 22f2739770f5a60f264aaa5d33dd66bb14fa4049..e1c2562196e888c435c906703f95749d7d670d18 100644 |
--- a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
@@ -670,7 +670,7 @@ SimUnlockUI::SimUnlockUI(content::WebUI* web_ui) : WebUIController(web_ui) { |
// Set up the chrome://sim-unlock/ source. |
Profile* profile = Profile::FromWebUI(web_ui); |
- profile->GetChromeURLDataManager()->AddDataSource(html_source); |
+ ChromeURLDataManager::AddDataSource(profile, html_source); |
} |
} // namespace chromeos |