diff options
Diffstat (limited to 'chrome/browser/ui/webui/active_downloads_ui.cc')
-rw-r--r-- | chrome/browser/ui/webui/active_downloads_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/active_downloads_ui.cc b/chrome/browser/ui/webui/active_downloads_ui.cc index f59af2a..460c093 100644 --- a/chrome/browser/ui/webui/active_downloads_ui.cc +++ b/chrome/browser/ui/webui/active_downloads_ui.cc @@ -369,7 +369,7 @@ ActiveDownloadsUI::ActiveDownloadsUI(TabContents* contents) handler_->Init(); // Set up the chrome://active-downloads/ source. - Profile* profile = Profile::FromBrowserContext(contents->browser_context()); + Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); profile->GetChromeURLDataManager()->AddDataSource( CreateActiveDownloadsUIHTMLSource()); } |