| Index: components/autofill/content/renderer/form_cache.cc
|
| diff --git a/components/autofill/content/renderer/form_cache.cc b/components/autofill/content/renderer/form_cache.cc
|
| index 716e895e03ac9b3fa4fc65622ab01965ccd8ef13..2b7765d8bd62621aa213b45a5a5335551108ed54 100644
|
| --- a/components/autofill/content/renderer/form_cache.cc
|
| +++ b/components/autofill/content/renderer/form_cache.cc
|
| @@ -177,6 +177,10 @@ bool FormCache::ClearFormWithElement(const WebFormControlElement& element) {
|
| if (!control_element.isEnabled())
|
| continue;
|
|
|
| + // Don't clear field that was not autofilled
|
| + if (!control_element.isAutofilled())
|
| + continue;
|
| +
|
| control_element.setAutofilled(false);
|
|
|
| WebInputElement* input_element = toWebInputElement(&control_element);
|
|
|