summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/form_field.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/form_field.cc')
-rw-r--r--chrome/browser/autofill/form_field.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/autofill/form_field.cc b/chrome/browser/autofill/form_field.cc
index eaffc16..edcd292 100644
--- a/chrome/browser/autofill/form_field.cc
+++ b/chrome/browser/autofill/form_field.cc
@@ -161,6 +161,11 @@ bool FormField::Match(const AutofillField* field,
return true;
}
+ if ((match_type & FormField::MATCH_VALUE) &&
+ autofill::MatchesPattern(field->value, pattern)) {
+ return true;
+ }
+
return false;
}