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

Unified Diff: net/ssl/ssl_platform_key_win.cc

Issue 1752233002: Convert Pass()→std::move() on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 months 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
« no previous file with comments | « net/socket/tcp_socket_win.cc ('k') | printing/backend/win_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_win.cc
diff --git a/net/ssl/ssl_platform_key_win.cc b/net/ssl/ssl_platform_key_win.cc
index 2f3e7c6764ca5883e802fa7822795e808fc0677b..49fc31a67257652082448bcc134de32a21f0b3ae 100644
--- a/net/ssl/ssl_platform_key_win.cc
+++ b/net/ssl/ssl_platform_key_win.cc
@@ -9,6 +9,7 @@
#include <algorithm>
#include <string>
+#include <utility>
#include <vector>
#include <openssl/bn.h>
@@ -358,7 +359,7 @@ scoped_refptr<SSLPrivateKey> FetchClientCertPrivateKey(
delegate.reset(new SSLPlatformKeyCAPI(prov_or_key, key_spec, max_length));
}
return make_scoped_refptr(new ThreadedSSLPrivateKey(
- delegate.Pass(), GetSSLPlatformKeyTaskRunner()));
+ std::move(delegate), GetSSLPlatformKeyTaskRunner()));
}
} // namespace net
« no previous file with comments | « net/socket/tcp_socket_win.cc ('k') | printing/backend/win_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698