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 a3d9e8dcc59554cf14de986171395a1427042414..72290848c7a68f494d16906ba6cedfc1a9e0b997 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 |