Chromium Code Reviews| Index: components/autofill/core/browser/autofill_manager.cc |
| diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
| index 68d2a361e98cdff996d11e5d7def52bbd4fa7053..a9404f1db3685b019db8a084ccd4bdf8a4572892 100644 |
| --- a/components/autofill/core/browser/autofill_manager.cc |
| +++ b/components/autofill/core/browser/autofill_manager.cc |
| @@ -292,6 +292,9 @@ bool AutofillManager::ShouldShowAccessAddressBookSuggestion( |
| if (!GetCachedFormAndField(form, field, &form_structure, &autofill_field)) |
| return false; |
| + if (!field.should_autocomplete) |
|
Evan Stade
2014/08/28 17:18:58
nit: combine this with the check on L288
erikchen
2014/08/28 17:28:46
Done.
|
| + return false; |
| + |
| return personal_data_->ShouldShowAccessAddressBookSuggestion( |
| autofill_field->Type()); |
| } |