| Index: components/autofill/core/browser/autofill_profile.cc
|
| diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
|
| index 469111e4ce6e0a8a6d44aaed45dbd16c956e257f..602cf1bf7bb2e320f732ade1783149cd70ace8c7 100644
|
| --- a/components/autofill/core/browser/autofill_profile.cc
|
| +++ b/components/autofill/core/browser/autofill_profile.cc
|
| @@ -354,8 +354,8 @@
|
| PHONE_HOME_WHOLE_NUMBER,
|
| };
|
|
|
| - for (ServerFieldType type : types) {
|
| - int comparison = GetRawInfo(type).compare(profile.GetRawInfo(type));
|
| + for (size_t i = 0; i < arraysize(types); ++i) {
|
| + int comparison = GetRawInfo(types[i]).compare(profile.GetRawInfo(types[i]));
|
| if (comparison != 0) {
|
| return comparison;
|
| }
|
|
|