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

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

Issue 2022123002: Merge autofill::FormFieldData::is_checkable and is_checked (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: components/autofill/core/browser/form_field.cc
diff --git a/components/autofill/core/browser/form_field.cc b/components/autofill/core/browser/form_field.cc
index b7646c8ca7940ef2957b995fa6dc454ae0c274bc..a63634cca723028b83e1a8b2974cf182b46f213c 100644
--- a/components/autofill/core/browser/form_field.cc
+++ b/components/autofill/core/browser/form_field.cc
@@ -34,7 +34,7 @@ bool ShouldBeProcessed(const AutofillField* field) {
// interferes with correctly understanding ADDRESS_LINE2.
// Ignore fields marked as presentational. See
// http://www.w3.org/TR/wai-aria/roles#presentation
- return !(field->is_checkable ||
+ return !(IsCheckable(field->check_status) ||
field->role == FormFieldData::ROLE_ATTRIBUTE_PRESENTATION);
}
« no previous file with comments | « components/autofill/core/browser/autofill_metrics_unittest.cc ('k') | components/autofill/core/browser/form_field_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698