Index: chrome/browser/ui/webui/keyboard_ui.cc |
diff --git a/chrome/browser/ui/webui/keyboard_ui.cc b/chrome/browser/ui/webui/keyboard_ui.cc |
index f2a77e7275abcd253114c8aea91e9293a46c2ea7..f86188ee18042d7e306b6d34c283d62e62f05d52 100644 |
--- a/chrome/browser/ui/webui/keyboard_ui.cc |
+++ b/chrome/browser/ui/webui/keyboard_ui.cc |
@@ -24,7 +24,7 @@ KeyboardUI::KeyboardUI(content::WebUI* web_ui) |
: WebUIController(web_ui) { |
KeyboardHTMLSource* html_source = new KeyboardHTMLSource(); |
Profile* profile = Profile::FromWebUI(web_ui); |
- profile->GetChromeURLDataManager()->AddDataSource(html_source); |
+ ChromeURLDataManager::AddDataSource(profile, html_source); |
} |
KeyboardUI::~KeyboardUI() { |