Index: components/autofill/core/browser/autofill_manager.cc |
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
index 6921626a500115c18287ed9fd16677a5b43629e3..affb771568b0b4dd7cb952ecee7c590518f80e77 100644 |
--- a/components/autofill/core/browser/autofill_manager.cc |
+++ b/components/autofill/core/browser/autofill_manager.cc |
@@ -895,7 +895,7 @@ bool AutofillManager::GetDeletionConfirmationText(const base::string16& value, |
return false; |
if (title) |
- title->assign(credit_card->TypeAndLastFourDigits()); |
+ title->assign(credit_card->NetworkAndLastFourDigits()); |
if (body) { |
body->assign(l10n_util::GetStringUTF16( |
IDS_AUTOFILL_DELETE_CREDIT_CARD_SUGGESTION_CONFIRMATION_BODY)); |
@@ -1246,7 +1246,7 @@ void AutofillManager::ImportFormData(const FormStructure& submitted_form) { |
for (const auto& field : submitted_form) { |
if (field->Type().GetStorableType() == CREDIT_CARD_VERIFICATION_CODE && |
IsValidCreditCardSecurityCode(field->value, |
- upload_request_.card.type())) { |
+ upload_request_.card.network())) { |
upload_request_.cvc = field->value; |
break; |
} |