Index: components/autofill/core/browser/autofill_test_utils.cc |
diff --git a/components/autofill/core/browser/autofill_test_utils.cc b/components/autofill/core/browser/autofill_test_utils.cc |
index 8854b8b0608fea0d1bb2601abd0be562f919297d..621baa78762e2e9366abe6210595abdf3b70fd47 100644 |
--- a/components/autofill/core/browser/autofill_test_utils.cc |
+++ b/components/autofill/core/browser/autofill_test_utils.cc |
@@ -280,7 +280,7 @@ void SetProfileInfoWithGuid(AutofillProfile* profile, |
void SetCreditCardInfo(CreditCard* credit_card, |
const char* name_on_card, const char* card_number, |
const char* expiration_month, const char* expiration_year) { |
- check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card); |
+ check_and_set(credit_card, CREDIT_CARD_NAME_FULL, name_on_card); |
check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number); |
check_and_set(credit_card, CREDIT_CARD_EXP_MONTH, expiration_month); |
check_and_set(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR, expiration_year); |