| Index: components/autofill/content/renderer/form_autofill_util.cc
|
| diff --git a/components/autofill/content/renderer/form_autofill_util.cc b/components/autofill/content/renderer/form_autofill_util.cc
|
| index 29b6009ed5901acb6b66e7c00196586922dea774..4448f5d16dfc44afa4d625fc8e8a4281d1e15b41 100644
|
| --- a/components/autofill/content/renderer/form_autofill_util.cc
|
| +++ b/components/autofill/content/renderer/form_autofill_util.cc
|
| @@ -540,8 +540,6 @@ void FillFormField(const FormFieldData& data,
|
| if (!data.is_autofilled)
|
| return;
|
|
|
| - field->setAutofilled(true);
|
| -
|
| WebInputElement* input_element = toWebInputElement(field);
|
| if (IsCheckableElement(input_element)) {
|
| input_element->setChecked(data.is_checked, true);
|
| @@ -555,6 +553,8 @@ void FillFormField(const FormFieldData& data,
|
| field->setValue(value, true);
|
| }
|
|
|
| + field->setAutofilled(true);
|
| +
|
| if (is_initiating_node &&
|
| ((IsTextInput(input_element) || IsMonthInput(input_element)) ||
|
| IsTextAreaElement(*field))) {
|
|
|