Index: chrome/browser/ui/views/ssl_client_certificate_selector.cc |
diff --git a/chrome/browser/ui/views/ssl_client_certificate_selector.cc b/chrome/browser/ui/views/ssl_client_certificate_selector.cc |
index 7e84fb065bf95959f2aabe43e1599ac044bfa94d..de31ce8f02a3c46810ae1a838aa29b848d1bfbf0 100644 |
--- a/chrome/browser/ui/views/ssl_client_certificate_selector.cc |
+++ b/chrome/browser/ui/views/ssl_client_certificate_selector.cc |
@@ -82,10 +82,10 @@ void CertificateSelectorTableModel::SetObserver( |
SSLClientCertificateSelector::SSLClientCertificateSelector( |
content::WebContents* web_contents, |
- const net::HttpNetworkSession* network_session, |
const scoped_refptr<net::SSLCertRequestInfo>& cert_request_info, |
const chrome::SelectCertificateCallback& callback) |
- : SSLClientAuthObserver(network_session, cert_request_info, callback), |
+ : SSLClientAuthObserver(web_contents->GetBrowserContext(), |
+ cert_request_info, callback), |
model_(new CertificateSelectorTableModel(cert_request_info.get())), |
web_contents_(web_contents), |
table_(NULL), |
@@ -274,13 +274,12 @@ namespace chrome { |
void ShowSSLClientCertificateSelector( |
content::WebContents* contents, |
- const net::HttpNetworkSession* network_session, |
net::SSLCertRequestInfo* cert_request_info, |
const chrome::SelectCertificateCallback& callback) { |
DVLOG(1) << __FUNCTION__ << " " << contents; |
DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
(new SSLClientCertificateSelector( |
- contents, network_session, cert_request_info, callback))->Init(); |
+ contents, cert_request_info, callback))->Init(); |
} |
} // namespace chrome |