| Index: components/autofill/core/browser/credit_card_field.cc
|
| diff --git a/components/autofill/core/browser/credit_card_field.cc b/components/autofill/core/browser/credit_card_field.cc
|
| index 3ac65c0cfe0fd5cf2eddb630e8ab508dcf32aa88..bb015b90ae79c84bfc8173e681063c828629d4a7 100644
|
| --- a/components/autofill/core/browser/credit_card_field.cc
|
| +++ b/components/autofill/core/browser/credit_card_field.cc
|
| @@ -54,7 +54,7 @@ bool FindConsecutiveStrings(const std::vector<base::string16>& regex_needles,
|
| // Returns true if a field that has |max_length| can fit the data for a field of
|
| // |type|.
|
| bool FieldCanFitDataForFieldType(int max_length, ServerFieldType type) {
|
| - if (max_length == 0)
|
| + if (max_length <= 0)
|
| return true;
|
|
|
| switch (type) {
|
|
|