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

Unified Diff: components/certificate_transparency/log_dns_client.cc

Issue 2110663002: components: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+one fix Created 4 years, 5 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 | « components/bubble/bubble_manager.cc ('k') | components/component_updater/component_updater_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/certificate_transparency/log_dns_client.cc
diff --git a/components/certificate_transparency/log_dns_client.cc b/components/certificate_transparency/log_dns_client.cc
index 77da9f852a0e5fb38a67050cae5c6cfba90a872c..4b24bafd62f338e9e7316c084c4bf230b301e145 100644
--- a/components/certificate_transparency/log_dns_client.cc
+++ b/components/certificate_transparency/log_dns_client.cc
@@ -39,7 +39,7 @@ bool ParseTxtResponse(const net::DnsResponse& response, std::string* txt) {
if (parsed_record == nullptr)
return false;
- auto txt_record = parsed_record->rdata<net::TxtRecordRdata>();
+ auto* txt_record = parsed_record->rdata<net::TxtRecordRdata>();
if (txt_record == nullptr)
return false;
« no previous file with comments | « components/bubble/bubble_manager.cc ('k') | components/component_updater/component_updater_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698