diff options
Diffstat (limited to 'chrome/browser/ui/webui/keyboard_ui.cc')
-rw-r--r-- | chrome/browser/ui/webui/keyboard_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/keyboard_ui.cc b/chrome/browser/ui/webui/keyboard_ui.cc index b18e21c..cae330e0 100644 --- a/chrome/browser/ui/webui/keyboard_ui.cc +++ b/chrome/browser/ui/webui/keyboard_ui.cc @@ -19,7 +19,7 @@ KeyboardUI::KeyboardUI(TabContents* contents) : ChromeWebUI(contents) { KeyboardHTMLSource* html_source = new KeyboardHTMLSource(); - Profile* profile = Profile::FromBrowserContext(contents->browser_context()); + Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); profile->GetChromeURLDataManager()->AddDataSource(html_source); } |