Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 047d1c2440243f7de629dbbde41897385a83b64d..7ff973d65f63f56b65df597fffd7cef3b841a007 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -3413,10 +3413,11 @@ void Browser::OnStartDownload(TabContents* source, DownloadItem* download) { |
CloseContents(source); |
} |
-void Browser::ShowPageInfo(Profile* profile, |
+void Browser::ShowPageInfo(content::BrowserContext* browser_context, |
const GURL& url, |
const NavigationEntry::SSLStatus& ssl, |
bool show_history) { |
+ Profile* profile = Profile::FromBrowserContext(browser_context); |
window()->ShowPageInfo(profile, url, ssl, show_history); |
} |