| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index 197287dea24cf9f251051aab334906416f4acc41..aa820f32101e1bbe6f2f2190bde1fbf4b66fd86a 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -853,7 +853,7 @@ void AutofillDialogControllerImpl::EditClickedForSection(
|
| scoped_ptr<DataModelWrapper> model = CreateWrapper(section);
|
| model->FillInputs(inputs);
|
| section_editing_state_[section] = true;
|
| - view_->UpdateSection(section);
|
| + view_->UpdateSection(section, CLEAR_USER_INPUT);
|
| }
|
|
|
| void AutofillDialogControllerImpl::EditCancelledForSection(
|
| @@ -862,7 +862,7 @@ void AutofillDialogControllerImpl::EditCancelledForSection(
|
| for (size_t i = 0; i < inputs->size(); ++i)
|
| (*inputs)[i].initial_value.clear();
|
| section_editing_state_[section] = false;
|
| - view_->UpdateSection(section);
|
| + view_->UpdateSection(section, CLEAR_USER_INPUT);
|
| }
|
|
|
| gfx::Image AutofillDialogControllerImpl::IconForField(
|
| @@ -1271,7 +1271,7 @@ void AutofillDialogControllerImpl::DidAcceptSuggestion(const string16& value,
|
| FillInputFromFormGroup(
|
| form_group,
|
| MutableRequestedFieldsForSection(section_showing_popup_));
|
| - view_->UpdateSection(section_showing_popup_);
|
| + view_->UpdateSection(section_showing_popup_, KEEP_USER_INPUT);
|
|
|
| metric_logger_.LogDialogPopupEvent(
|
| dialog_type_, AutofillMetrics::DIALOG_POPUP_FORM_FILLED);
|
|
|