| 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..e5ee5611721e5d9977ef7151cfb81d9bdfde01c6 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);
|
|
|