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 d0f80ab388b23cc7928f54953b0c98e489162e43..a097d712c005a5145218ec518d4cb477f30a60d4 100644 |
--- a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
@@ -671,7 +671,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 |