| Index: net/url_request/url_request.cc
|
| diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
|
| index a96749855278cbdab7bb1ad8c60bba452e0bcc7d..0ab49c68cead5bb4ea6db520fe55f3d920bbc3a9 100644
|
| --- a/net/url_request/url_request.cc
|
| +++ b/net/url_request/url_request.cc
|
| @@ -872,15 +872,17 @@ void URLRequest::CancelAuth() {
|
| job_->CancelAuth();
|
| }
|
|
|
| -void URLRequest::ContinueWithCertificate(X509Certificate* client_cert,
|
| - SSLPrivateKey* client_private_key) {
|
| +void URLRequest::ContinueWithCertificate(
|
| + scoped_refptr<X509Certificate> client_cert,
|
| + scoped_refptr<SSLPrivateKey> client_private_key) {
|
| DCHECK(job_.get());
|
|
|
| // Matches the call in NotifyCertificateRequested.
|
| OnCallToDelegateComplete();
|
|
|
| status_ = URLRequestStatus::FromError(ERR_IO_PENDING);
|
| - job_->ContinueWithCertificate(client_cert, client_private_key);
|
| + job_->ContinueWithCertificate(std::move(client_cert),
|
| + std::move(client_private_key));
|
| }
|
|
|
| void URLRequest::ContinueDespiteLastError() {
|
|
|