| Index: ios/chrome/browser/ui/settings/autofill_credit_card_edit_collection_view_controller.mm
|
| diff --git a/ios/chrome/browser/ui/settings/autofill_credit_card_edit_collection_view_controller.mm b/ios/chrome/browser/ui/settings/autofill_credit_card_edit_collection_view_controller.mm
|
| index 1aaa243465445b9c0249b662bf7ef7d7a789a621..1ece7ada972a4071cfd518b9128d0247d23a12d7 100644
|
| --- a/ios/chrome/browser/ui/settings/autofill_credit_card_edit_collection_view_controller.mm
|
| +++ b/ios/chrome/browser/ui/settings/autofill_credit_card_edit_collection_view_controller.mm
|
| @@ -43,8 +43,6 @@ using ::AutofillTypeFromAutofillUIType;
|
| NSString* const kAutofillCreditCardEditCollectionViewId =
|
| @"kAutofillCreditCardEditCollectionViewId";
|
|
|
| -const CGFloat kCardIssuerNetworkIconDimension = 30.0;
|
| -
|
| typedef NS_ENUM(NSInteger, SectionIdentifier) {
|
| SectionIdentifierFields = kSectionIdentifierEnumZero,
|
| SectionIdentifierCopiedToChrome,
|
| @@ -321,11 +319,8 @@ typedef NS_ENUM(NSInteger, ItemType) {
|
| if (network != autofill::kGenericCard) {
|
| int resourceID =
|
| autofill::data_util::GetPaymentRequestData(network).icon_resource_id;
|
| - // Resize and set the card issuer network icon.
|
| - CGFloat dimension = kCardIssuerNetworkIconDimension;
|
| - return ResizeImage(NativeImage(resourceID),
|
| - CGSizeMake(dimension, dimension),
|
| - ProjectionMode::kAspectFillNoClipping);
|
| + // Return the card issuer network icon.
|
| + return NativeImage(resourceID);
|
| } else {
|
| return nil;
|
| }
|
|
|