Index: net/ssl/ssl_platform_key_android.cc |
diff --git a/net/ssl/ssl_platform_key_android.cc b/net/ssl/ssl_platform_key_android.cc |
index 6a6595cc0e651eedcacdc97804bf3cc1f8bdd0ca..800107a5dc4747c153bf0dc130df2de5fe4959df 100644 |
--- a/net/ssl/ssl_platform_key_android.cc |
+++ b/net/ssl/ssl_platform_key_android.cc |
@@ -6,10 +6,12 @@ |
#include <openssl/digest.h> |
#include <openssl/evp.h> |
+ |
#include <utility> |
#include "base/logging.h" |
#include "base/macros.h" |
+#include "base/memory/ptr_util.h" |
#include "crypto/scoped_openssl_types.h" |
#include "net/base/net_errors.h" |
#include "net/ssl/openssl_client_key_store.h" |
@@ -120,7 +122,7 @@ scoped_refptr<SSLPrivateKey> WrapOpenSSLPrivateKey(crypto::ScopedEVP_PKEY key) { |
return nullptr; |
} |
return make_scoped_refptr(new ThreadedSSLPrivateKey( |
- make_scoped_ptr(new SSLPlatformKeyAndroid(std::move(key), type)), |
+ base::WrapUnique(new SSLPlatformKeyAndroid(std::move(key), type)), |
GetSSLPlatformKeyTaskRunner())); |
} |