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

Unified Diff: components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc

Issue 2110663002: components: 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
Index: components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
diff --git a/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
index fc8aa708d821532f88052cc25d66223eecf3e02f..64995ad2ba9312273bec6fdc987e1efe63552970 100644
--- a/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
+++ b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
@@ -110,7 +110,7 @@ AutofillProfileSyncableService::MergeDataAndStartSyncing(
DVLOG(2) << "[AUTOFILL MIGRATION]"
<< "Printing profiles from web db";
- for (const auto& p : profiles_) {
+ for (auto* p : profiles_) {
DVLOG(2) << "[AUTOFILL MIGRATION] "
<< UTF16ToUTF8(p->GetRawInfo(NAME_FIRST))
<< UTF16ToUTF8(p->GetRawInfo(NAME_LAST))

Powered by Google App Engine
This is Rietveld 408576698