diff options
Diffstat (limited to 'chrome/browser/extensions/api/autofill_private/autofill_private_api.cc')
| -rw-r--r-- | chrome/browser/extensions/api/autofill_private/autofill_private_api.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc b/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc index 3bb54eb..10ace1a 100644 --- a/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc +++ b/chrome/browser/extensions/api/autofill_private/autofill_private_api.cc @@ -326,9 +326,8 @@ ExtensionFunction::ResponseAction AutofillPrivateSaveCreditCardFunction::Run() { autofill::CreditCard credit_card(guid, kSettingsOrigin); if (card->name) { - credit_card.SetRawInfo( - autofill::CREDIT_CARD_NAME, - base::UTF8ToUTF16(*card->name)); + credit_card.SetRawInfo(autofill::CREDIT_CARD_NAME_FULL, + base::UTF8ToUTF16(*card->name)); } if (card->card_number) { |
