| Index: content/browser/loader/resource_loader.cc
|
| diff --git a/content/browser/loader/resource_loader.cc b/content/browser/loader/resource_loader.cc
|
| index eee044c6aaf87a0119371de0a8722a239657692f..3f7357ebc1dacd4af74ae6cae907523986a59a40 100644
|
| --- a/content/browser/loader/resource_loader.cc
|
| +++ b/content/browser/loader/resource_loader.cc
|
| @@ -417,16 +417,11 @@ void ResourceLoader::ContinueSSLRequest() {
|
| request_->ContinueDespiteLastError();
|
| }
|
|
|
| -void ResourceLoader::ContinueWithCertificate(net::X509Certificate* cert) {
|
| +void ResourceLoader::ContinueWithCertificate(net::X509Certificate* cert,
|
| + net::SSLPrivateKey* private_key) {
|
| DCHECK(ssl_client_auth_handler_);
|
| ssl_client_auth_handler_.reset();
|
| - if (!cert) {
|
| - request_->ContinueWithCertificate(nullptr, nullptr);
|
| - return;
|
| - }
|
| - scoped_refptr<net::SSLPrivateKey> private_key =
|
| - net::FetchClientCertPrivateKey(cert);
|
| - request_->ContinueWithCertificate(cert, private_key.get());
|
| + request_->ContinueWithCertificate(cert, private_key);
|
| }
|
|
|
| void ResourceLoader::CancelCertificateSelection() {
|
|
|