| 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 5df3ca14bda7fa0fee2dde5a92456f091613c803..7a736c86de32dd616c1d41dd6f07b3744dfc109d 100644
|
| --- a/components/autofill/core/browser/autofill_manager.cc
|
| +++ b/components/autofill/core/browser/autofill_manager.cc
|
| @@ -551,6 +551,12 @@ bool AutofillManager::WillFillCreditCardNumber(const FormData& form,
|
| if (autofill_field->Type().GetStorableType() == CREDIT_CARD_NUMBER)
|
| return true;
|
|
|
| +#if defined(OS_IOS)
|
| + // On iOS, we only fill out one field at a time. So we only need to check the
|
| + // current field.
|
| + return false;
|
| +#endif
|
| +
|
| // If the relevant section is already autofilled, the new fill operation will
|
| // only fill |autofill_field|.
|
| if (SectionIsAutofilled(*form_structure, form, autofill_field->section()))
|
|
|