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

Unified Diff: chrome/browser/autofill/email_field.cc

Issue 7063031: Heuristics for grabber-continental.com.out (select-one) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 9 years, 7 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 | « chrome/browser/autofill/credit_card_field.cc ('k') | chrome/browser/autofill/form_field.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/email_field.cc
diff --git a/chrome/browser/autofill/email_field.cc b/chrome/browser/autofill/email_field.cc
index 818edb70658cccf89ff87b3b3925e40288ea3f13..8ca561b425d27ca1cd1fdabcbfef450adcf4c88c 100644
--- a/chrome/browser/autofill/email_field.cc
+++ b/chrome/browser/autofill/email_field.cc
@@ -20,8 +20,10 @@ EmailField* EmailField::Parse(AutofillScanner* scanner, bool is_ecml) {
pattern = l10n_util::GetStringUTF16(IDS_AUTOFILL_EMAIL_RE);
const AutofillField* field;
- if (ParseField(scanner, pattern, &field))
+ if (ParseFieldSpecifics(scanner, pattern,
+ MATCH_DEFAULT | MATCH_EMAIL, &field)) {
return new EmailField(field);
+ }
return NULL;
}
« no previous file with comments | « chrome/browser/autofill/credit_card_field.cc ('k') | chrome/browser/autofill/form_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698