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

Unified Diff: components/autofill/core/browser/phone_field.h

Issue 1615003002: Fix behavior of HTMLInputElement.maxLength/minLength getter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix interactive tests Created 4 years, 10 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/phone_field.h
diff --git a/components/autofill/core/browser/phone_field.h b/components/autofill/core/browser/phone_field.h
index 03dc4a93c85f15a8d634bc6992bc92255c5b51d5..ea87a91f463869d161c5eb62b0466699b8c564fb 100644
--- a/components/autofill/core/browser/phone_field.h
+++ b/components/autofill/core/browser/phone_field.h
@@ -76,7 +76,7 @@ class PhoneField : public FormField {
struct Parser {
RegexType regex; // Field matching reg-ex.
PhonePart phone_part; // Index of the field.
- size_t max_size; // Max size of the field to match. 0 means any.
+ int max_size; // Max size of the field to match. 0 means any.
};
static const Parser kPhoneFieldGrammars[];

Powered by Google App Engine
This is Rietveld 408576698