Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 864873002: Autofill - don't respect autocomplete="off" for mac address book or (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac test expectation Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18bd355fe2a60a4296e5c7ce817efdc55cebf634..b9123d0674c4f40feaa014629ccaeed59e2d437e 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -1108,7 +1108,7 @@ bool AutofillManager::GetCachedFormAndField(const FormData& form,
AutofillField* AutofillManager::GetAutofillField(const FormData& form,
const FormFieldData& field) {
- if (!personal_data_ || !field.should_autocomplete)
+ if (!personal_data_)
return NULL;
FormStructure* form_structure = NULL;
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698