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

Unified Diff: chrome/browser/tab_contents/tab_contents_ssl_helper.cc

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 6 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/tab_contents/tab_contents_ssl_helper.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents_ssl_helper.cc (revision 142088)
+++ chrome/browser/tab_contents/tab_contents_ssl_helper.cc (working copy)
@@ -100,7 +100,9 @@
bool SSLCertAddedInfoBarDelegate::Accept() {
ShowCertificateViewer(
- owner()->web_contents()->GetView()->GetTopLevelNativeWindow(), cert_);
+ owner()->web_contents(),
+ owner()->web_contents()->GetView()->GetTopLevelNativeWindow(),
+ cert_);
return false; // Hiding the infobar just as the dialog opens looks weird.
}
« no previous file with comments | « chrome/browser/chromeos/login/simple_web_view_dialog.cc ('k') | chrome/browser/ui/android/certificate_viewer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698