Index: chrome/browser/autofill/autocomplete_history_manager_unittest.cc |
diff --git a/chrome/browser/autofill/autocomplete_history_manager_unittest.cc b/chrome/browser/autofill/autocomplete_history_manager_unittest.cc |
index e685eacff08657d4b3d8941bf3f6c56c36e926ae..8709420ced0836b4ff2d4bc271676ef9c567f049 100644 |
--- a/chrome/browser/autofill/autocomplete_history_manager_unittest.cc |
+++ b/chrome/browser/autofill/autocomplete_history_manager_unittest.cc |
@@ -73,7 +73,7 @@ TEST_F(AutocompleteHistoryManagerTest, CreditCardNumberValue) { |
valid_cc.label = ASCIIToUTF16("Credit Card"); |
valid_cc.name = ASCIIToUTF16("ccnum"); |
valid_cc.value = ASCIIToUTF16("4012888888881881"); |
- valid_cc.form_control_type = ASCIIToUTF16("text"); |
+ valid_cc.form_control_type = "text"; |
form.fields.push_back(valid_cc); |
EXPECT_CALL(*web_data_service_, AddFormFields(_)).Times(0); |
@@ -96,7 +96,7 @@ TEST_F(AutocompleteHistoryManagerTest, NonCreditCardNumberValue) { |
invalid_cc.label = ASCIIToUTF16("Credit Card"); |
invalid_cc.name = ASCIIToUTF16("ccnum"); |
invalid_cc.value = ASCIIToUTF16("4580123456789012"); |
- invalid_cc.form_control_type = ASCIIToUTF16("text"); |
+ invalid_cc.form_control_type = "text"; |
form.fields.push_back(invalid_cc); |
EXPECT_CALL(*(web_data_service_.get()), AddFormFields(_)).Times(1); |
@@ -116,7 +116,7 @@ TEST_F(AutocompleteHistoryManagerTest, SSNValue) { |
ssn.label = ASCIIToUTF16("Social Security Number"); |
ssn.name = ASCIIToUTF16("ssn"); |
ssn.value = ASCIIToUTF16("078-05-1120"); |
- ssn.form_control_type = ASCIIToUTF16("text"); |
+ ssn.form_control_type = "text"; |
form.fields.push_back(ssn); |
EXPECT_CALL(*web_data_service_, AddFormFields(_)).Times(0); |
@@ -137,7 +137,7 @@ TEST_F(AutocompleteHistoryManagerTest, SearchField) { |
search_field.label = ASCIIToUTF16("Search"); |
search_field.name = ASCIIToUTF16("search"); |
search_field.value = ASCIIToUTF16("my favorite query"); |
- search_field.form_control_type = ASCIIToUTF16("search"); |
+ search_field.form_control_type = "search"; |
form.fields.push_back(search_field); |
EXPECT_CALL(*(web_data_service_.get()), AddFormFields(_)).Times(1); |