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

Unified Diff: chrome/browser/ui/webui/options2/certificate_manager_handler2.cc

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: mac build 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/ui/webui/options2/certificate_manager_handler2.cc
===================================================================
--- chrome/browser/ui/webui/options2/certificate_manager_handler2.cc (revision 142088)
+++ chrome/browser/ui/webui/options2/certificate_manager_handler2.cc (working copy)
@@ -493,7 +493,7 @@
net::X509Certificate* cert = CallbackArgsToCert(args);
if (!cert)
return;
- ShowCertificateViewer(GetParentWindow(), cert);
+ ShowCertificateViewer(web_ui()->GetWebContents(), GetParentWindow(), cert);
}
void CertificateManagerHandler::GetCATrust(const ListValue* args) {

Powered by Google App Engine
This is Rietveld 408576698