Index: components/autofill/core/browser/phone_field.cc |
diff --git a/components/autofill/core/browser/phone_field.cc b/components/autofill/core/browser/phone_field.cc |
index 77a8d9f08aa6bf22eec63f325d6101b9478298eb..452e7eb4dd3cee38a04a4080dd2cb19936e18395 100644 |
--- a/components/autofill/core/browser/phone_field.cc |
+++ b/components/autofill/core/browser/phone_field.cc |
@@ -276,10 +276,8 @@ std::string PhoneField::GetRegExp(RegexType regex_id) { |
bool PhoneField::ParsePhoneField(AutofillScanner* scanner, |
const std::string& regex, |
AutofillField** field) { |
- return ParseFieldSpecifics(scanner, |
- base::UTF8ToUTF16(regex), |
- MATCH_DEFAULT | MATCH_TELEPHONE | MATCH_NUMBER, |
- field); |
+ return ParseFieldSpecifics( |
+ scanner, regex, MATCH_DEFAULT | MATCH_TELEPHONE | MATCH_NUMBER, field); |
} |
} // namespace autofill |