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

Unified Diff: chrome/browser/ui/android/page_info/certificate_chain_helper.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 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
Index: chrome/browser/ui/android/page_info/certificate_chain_helper.cc
diff --git a/chrome/browser/ui/android/page_info/certificate_chain_helper.cc b/chrome/browser/ui/android/page_info/certificate_chain_helper.cc
index 6c1c1603263bf9f4bbd639fee9d2f3f5e210a3be..8638fab98ea587e95899b61b48f5f16f2ed14def 100644
--- a/chrome/browser/ui/android/page_info/certificate_chain_helper.cc
+++ b/chrome/browser/ui/android/page_info/certificate_chain_helper.cc
@@ -42,7 +42,7 @@ static ScopedJavaLocalRef<jobjectArray> GetCertificateChain(
cert_handles.insert(cert_handles.begin(), cert->os_cert_handle());
cert_chain.reserve(cert_handles.size());
- for (const auto& handle : cert_handles) {
+ for (auto* handle : cert_handles) {
std::string cert_bytes;
net::X509Certificate::GetDEREncoded(handle, &cert_bytes);
cert_chain.push_back(cert_bytes);

Powered by Google App Engine
This is Rietveld 408576698