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

Unified Diff: net/ssl/client_key_store.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: no-media 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
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver.cc ('k') | net/ssl/ssl_platform_key_task_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « net/proxy/multi_threaded_proxy_resolver.cc ('k') | net/ssl/ssl_platform_key_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698