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

Unified Diff: ios/chrome/browser/autofill/autofill_controller_unittest.mm

Issue 2609703002: Remove ScopedVector from autofill. (Closed)
Patch Set: drop the using Created 3 years, 12 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: ios/chrome/browser/autofill/autofill_controller_unittest.mm
diff --git a/ios/chrome/browser/autofill/autofill_controller_unittest.mm b/ios/chrome/browser/autofill/autofill_controller_unittest.mm
index 5942a05b0dc1d313d5880b4c6a17115bb673db8b..67c5a7a17c15b16af2f0125c907c5b55ae6f5c3c 100644
--- a/ios/chrome/browser/autofill/autofill_controller_unittest.mm
+++ b/ios/chrome/browser/autofill/autofill_controller_unittest.mm
@@ -121,7 +121,7 @@ NSString* const kAutofillVisible = @"AutofillVisible";
void CheckField(const FormStructure& form,
ServerFieldType fieldType,
const char* name) {
- for (const AutofillField* field : form) {
+ for (const auto& field : form) {
if (field->heuristic_type() == fieldType) {
EXPECT_EQ(base::UTF8ToUTF16(name), field->unique_name());
return;
« no previous file with comments | « ios/chrome/browser/autofill/autofill_agent.mm ('k') | ios/chrome/browser/autofill/form_structure_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698