Chromium Code Reviews| Index: components/autofill/browser/form_structure.cc |
| diff --git a/components/autofill/browser/form_structure.cc b/components/autofill/browser/form_structure.cc |
| index 8dbf6bd5304ba8b2684ea32c8988d41eb32f53ca..67f60b67066cf473113eb3a8b5f1f4468aab0929 100644 |
| --- a/components/autofill/browser/form_structure.cc |
| +++ b/components/autofill/browser/form_structure.cc |
| @@ -247,7 +247,8 @@ FormStructure::FormStructure(const FormData& form, |
| // Skipping checkable elements when Autocheckout is not enabled, else |
| // these fields will interfere with existing field signatures with Autofill |
| // servers. |
| - if (!field->is_checkable || IsAutocheckoutEnabled()) { |
| + if ((!field->is_checkable && !field->is_password_field) || |
|
Ilya Sherman
2013/03/15 23:43:27
You should also make sure that password fields do
Raman Kakilate
2013/03/18 17:54:00
Done.
|
| + IsAutocheckoutEnabled()) { |
| // Add all supported form fields (including with empty names) to the |
| // signature. This is a requirement for Autofill servers. |
| form_signature_field_names_.append("&"); |