Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: net/android/keystore_openssl.cc

Issue 1557553002: Global conversion of Pass()→std::move() on OS=android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/android/keystore_openssl.cc
diff --git a/net/android/keystore_openssl.cc b/net/android/keystore_openssl.cc
index fb0365c6a8d53f9500631b2be276b0acbde6dda0..a4508d618a6861294865eb7e2645874787d37a4e 100644
--- a/net/android/keystore_openssl.cc
+++ b/net/android/keystore_openssl.cc
@@ -351,7 +351,7 @@ crypto::ScopedEVP_PKEY CreateRsaPkeyWrapper(
!EVP_PKEY_set1_RSA(pkey.get(), rsa.get())) {
return crypto::ScopedEVP_PKEY();
}
- return pkey.Pass();
+ return pkey;
}
// On Android < 4.2, the libkeystore.so ENGINE uses CRYPTO_EX_DATA and is not
@@ -526,7 +526,7 @@ crypto::ScopedEVP_PKEY GetEcdsaPkeyWrapper(jobject private_key) {
!EVP_PKEY_set1_EC_KEY(pkey.get(), ec_key.get())) {
return crypto::ScopedEVP_PKEY();
}
- return pkey.Pass();
+ return pkey;
}
const ECDSA_METHOD android_ecdsa_method = {
« no previous file with comments | « mojo/edk/embedder/simple_platform_shared_buffer_android.cc ('k') | net/socket/ssl_client_socket_openssl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698