Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2976)

Unified Diff: chrome/browser/ui/browser.cc

Issue 9390015: Get rid of ShowPageInfo on WebContents and WebContentsDelegate. Chrome shouldn't have to go throu... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix gtk+mac Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser.cc
===================================================================
--- chrome/browser/ui/browser.cc (revision 121706)
+++ chrome/browser/ui/browser.cc (working copy)
@@ -3868,12 +3868,10 @@
CloseContents(source);
}
-void Browser::ShowPageInfo(content::BrowserContext* browser_context,
- const GURL& url,
+void Browser::ShowPageInfo(const GURL& url,
const SSLStatus& ssl,
bool show_history) {
- Profile* profile = Profile::FromBrowserContext(browser_context);
- window()->ShowPageInfo(profile, url, ssl, show_history);
+ window()->ShowPageInfo(profile_, url, ssl, show_history);
}
void Browser::ViewSourceForTab(WebContents* source, const GURL& page_url) {

Powered by Google App Engine
This is Rietveld 408576698