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

Unified Diff: net/ssl/client_key_store.cc

Issue 2101863004: net: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/spdy/hpack/hpack_static_table_test.cc ('k') | net/ssl/default_channel_id_store.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 87dafec16b0197cc4bc65753bd2f77b46d56882c..b448a6652d845d53d0f26b841dcbd6b4aa5346ee 100644
--- a/net/ssl/client_key_store.cc
+++ b/net/ssl/client_key_store.cc
@@ -43,7 +43,7 @@ scoped_refptr<SSLPrivateKey> ClientKeyStore::FetchClientCertPrivateKey(
const X509Certificate& certificate) {
base::AutoLock auto_lock(lock_);
- for (const auto& provider : providers_) {
+ for (auto* provider : providers_) {
scoped_refptr<SSLPrivateKey> key;
if (provider->GetCertificateKey(certificate, &key))
return key;
« no previous file with comments | « net/spdy/hpack/hpack_static_table_test.cc ('k') | net/ssl/default_channel_id_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698