Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index 83f82debe004531e43607ca30935d3667f45be6c..3f44dbf845d378f3d33f5215a9e4a8507018c6d0 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -4204,7 +4204,7 @@ ListValue* TestingAutomationProvider::GetListFromAutofillProfiles( |
for (std::map<AutofillFieldType, std::string>::iterator |
type_it = autofill_type_to_string.begin(); |
type_it != autofill_type_to_string.end(); ++type_it) { |
- string16 value = profile->GetFieldText(AutofillType(type_it->first)); |
+ string16 value = profile->GetFieldText(type_it->first); |
if (value.length()) { // If there was something stored for that value. |
profile_info->SetString(type_it->second, value); |
} |
@@ -4232,7 +4232,7 @@ ListValue* TestingAutomationProvider::GetListFromCreditCards( |
for (std::map<AutofillFieldType, std::string>::iterator type_it = |
credit_card_type_to_string.begin(); |
type_it != credit_card_type_to_string.end(); ++type_it) { |
- string16 value = card->GetFieldText(AutofillType(type_it->first)); |
+ string16 value = card->GetFieldText(type_it->first); |
// If there was something stored for that value. |
if (value.length()) { |
card_info->SetString(type_it->second, value); |
@@ -4265,7 +4265,7 @@ TestingAutomationProvider::GetAutofillProfilesFromList( |
if (profile_info->HasKey(type_it->second)) { |
if (profile_info->GetString(type_it->second, |
¤t_value)) { |
- profile.SetInfo(AutofillType(type_it->first), current_value); |
+ profile.SetInfo(type_it->first, current_value); |
} else { |
*error_message= "All values must be strings"; |
break; |
@@ -4297,7 +4297,7 @@ std::vector<CreditCard> TestingAutomationProvider::GetCreditCardsFromList( |
type_it != credit_card_type_to_string.end(); ++type_it) { |
if (card_info->HasKey(type_it->second)) { |
if (card_info->GetString(type_it->second, ¤t_value)) { |
- card.SetInfo(AutofillType(type_it->first), current_value); |
+ card.SetInfo(type_it->first, current_value); |
} else { |
*error_message= "All values must be strings"; |
break; |