| Index: components/autofill/core/browser/credit_card.cc
|
| diff --git a/components/autofill/core/browser/credit_card.cc b/components/autofill/core/browser/credit_card.cc
|
| index 00593e7436d82be86d1bedbcdbbea0ab73e9fac8..51d697f44c8df80e9f4adfb6e3de2630c96caef5 100644
|
| --- a/components/autofill/core/browser/credit_card.cc
|
| +++ b/components/autofill/core/browser/credit_card.cc
|
| @@ -444,7 +444,7 @@ const std::pair<base::string16, base::string16> CreditCard::LabelPieces()
|
|
|
| void CreditCard::SetInfoForMonthInputType(const base::string16& value) {
|
| // Check if |text| is "yyyy-mm" format first, and check normal month format.
|
| - if (!MatchesPattern(value, base::UTF8ToUTF16("^[0-9]{4}-[0-9]{1,2}$")))
|
| + if (!MatchesPattern(value, "^[0-9]{4}-[0-9]{1,2}$"))
|
| return;
|
|
|
| std::vector<base::StringPiece16> year_month = base::SplitStringPiece(
|
|
|