| Index: components/payments/core/autofill_payment_instrument.cc
|
| diff --git a/components/payments/core/autofill_payment_instrument.cc b/components/payments/core/autofill_payment_instrument.cc
|
| index 04017e439f2e6ff936e4f0ad5631e5f5319798dc..a7ada55308714708aa5074ce58fc8d27f5e62708 100644
|
| --- a/components/payments/core/autofill_payment_instrument.cc
|
| +++ b/components/payments/core/autofill_payment_instrument.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "components/payments/core/autofill_payment_instrument.h"
|
|
|
| +#include <memory>
|
| +
|
| #include "base/json/json_writer.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/values.h"
|
| @@ -26,11 +28,11 @@ AutofillPaymentInstrument::AutofillPaymentInstrument(
|
| PaymentRequestDelegate* payment_request_delegate)
|
| : PaymentInstrument(
|
| method_name,
|
| - /* label= */ card.TypeAndLastFourDigits(),
|
| + /* label= */ card.NetworkAndLastFourDigits(),
|
| /* sublabel= */
|
| card.GetInfo(autofill::AutofillType(autofill::CREDIT_CARD_NAME_FULL),
|
| app_locale),
|
| - autofill::data_util::GetPaymentRequestData(card.type())
|
| + autofill::data_util::GetPaymentRequestData(card.network())
|
| .icon_resource_id,
|
| PaymentInstrument::Type::AUTOFILL),
|
| credit_card_(card),
|
|
|