Chromium Code Reviews| Index: components/autofill/core/browser/autofill_manager.cc |
| diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
| index d599bce07603f84b97bd881bbe88c249078ea123..9279c950364215a351e29882e5f358fae24333d7 100644 |
| --- a/components/autofill/core/browser/autofill_manager.cc |
| +++ b/components/autofill/core/browser/autofill_manager.cc |
| @@ -2007,7 +2007,7 @@ void AutofillManager::DeterminePossibleFieldTypesForUpload( |
| // profile or credit card, identify any stored types that match the value. |
| for (size_t i = 0; i < submitted_form->field_count(); ++i) { |
| AutofillField* field = submitted_form->field(i); |
| - ServerFieldTypeSet matching_types; |
| + ServerFieldTypeSet matching_types = field->possible_types(); |
|
Roger McFarlane (Chromium)
2017/04/07 03:20:59
Is there a way to refactor this such that we don't
dvadym
2017/04/07 09:09:01
Yeah, it would look better here, but it looks like
|
| base::string16 value; |
| base::TrimWhitespace(field->value, base::TRIM_ALL, &value); |