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

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: update 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
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 cd99e11a2aadc10c9926a21498dea92aa64ca4f1..d894a6873578d81739e10db380ae50fbeaa8c6e3 100644
--- a/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
+++ b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc
@@ -111,7 +111,7 @@ AutofillProfileSyncableService::MergeDataAndStartSyncing(
DVLOG(2) << "[AUTOFILL MIGRATION]"
<< "Printing profiles from web db";
- for (const auto& p : profiles_) {
+ for (auto* p : profiles_) {
vabr (Chromium) 2016/07/19 07:54:09 optional: "const auto*"
vmpstr 2016/07/19 19:49:31 Done.
DVLOG(2) << "[AUTOFILL MIGRATION] "
<< UTF16ToUTF8(p->GetRawInfo(NAME_FIRST))
<< UTF16ToUTF8(p->GetRawInfo(NAME_LAST))

Powered by Google App Engine
This is Rietveld 408576698