Index: net/ssl/client_key_store.cc |
diff --git a/net/ssl/client_key_store.cc b/net/ssl/client_key_store.cc |
index 5001703ce2db5fea81ef7d3f6140e07342ae8908..87dafec16b0197cc4bc65753bd2f77b46d56882c 100644 |
--- a/net/ssl/client_key_store.cc |
+++ b/net/ssl/client_key_store.cc |
@@ -5,6 +5,7 @@ |
#include "net/ssl/client_key_store.h" |
#include <algorithm> |
+#include <utility> |
#include "net/cert/x509_certificate.h" |
#include "net/ssl/ssl_private_key.h" |
@@ -45,7 +46,7 @@ scoped_refptr<SSLPrivateKey> ClientKeyStore::FetchClientCertPrivateKey( |
for (const auto& provider : providers_) { |
scoped_refptr<SSLPrivateKey> key; |
if (provider->GetCertificateKey(certificate, &key)) |
- return key.Pass(); |
+ return key; |
} |
return nullptr; |
} |