diff options
Diffstat (limited to 'chrome/browser/ui/webui/uber/uber_ui.cc')
-rw-r--r-- | chrome/browser/ui/webui/uber/uber_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/uber/uber_ui.cc b/chrome/browser/ui/webui/uber/uber_ui.cc index ded7554..97a4778 100644 --- a/chrome/browser/ui/webui/uber/uber_ui.cc +++ b/chrome/browser/ui/webui/uber/uber_ui.cc @@ -30,7 +30,7 @@ ChromeWebUIDataSource* CreateUberHTMLSource() { } // namespace UberUI::UberUI(TabContents* contents) : ChromeWebUI(contents) { - Profile* profile = Profile::FromBrowserContext(contents->browser_context()); + Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); profile->GetChromeURLDataManager()->AddDataSource(CreateUberHTMLSource()); RegisterSubpage(chrome::kChromeUISettingsFrameURL); |