| Index: ios/chrome/browser/payments/shipping_address_selection_view_controller.mm
|
| diff --git a/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm b/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm
|
| index 556badab1fc47fd64d4cb009a08ea07a3b71d457..e3f67166296b900ce69786990c22a2c0217e2b33 100644
|
| --- a/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm
|
| +++ b/ios/chrome/browser/payments/shipping_address_selection_view_controller.mm
|
| @@ -20,10 +20,6 @@
|
| #import "ios/chrome/browser/ui/icons/chrome_icon.h"
|
| #include "ios/chrome/grit/ios_strings.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| -
|
| -using payment_request_utils::NameLabelFromAutofillProfile;
|
| -using payment_request_utils::AddressLabelFromAutofillProfile;
|
| -using payment_request_utils::PhoneNumberLabelFromAutofillProfile;
|
|
|
| NSString* const kShippingAddressSelectionCollectionViewId =
|
| @"kShippingAddressSelectionCollectionViewId";
|
| @@ -101,10 +97,12 @@
|
| autofill::AutofillProfile* shippingAddress = _shippingAddresses[i];
|
| ShippingAddressItem* item = [[[ShippingAddressItem alloc]
|
| initWithType:ItemTypeShippingAddress] autorelease];
|
| - item.accessibilityTraits |= UIAccessibilityTraitButton;
|
| - item.name = NameLabelFromAutofillProfile(shippingAddress);
|
| - item.address = AddressLabelFromAutofillProfile(shippingAddress);
|
| - item.phoneNumber = PhoneNumberLabelFromAutofillProfile(shippingAddress);
|
| + item.name = base::SysUTF16ToNSString(
|
| + shippingAddress->GetRawInfo(autofill::NAME_FULL));
|
| + item.address =
|
| + payment_request_utils::AddressLabelFromAutofillProfile(shippingAddress);
|
| + item.phoneNumber = base::SysUTF16ToNSString(
|
| + shippingAddress->GetRawInfo(autofill::PHONE_HOME_WHOLE_NUMBER));
|
| if (shippingAddress == _selectedShippingAddress) {
|
| item.accessoryType = MDCCollectionViewCellAccessoryCheckmark;
|
| _selectedItem = item;
|
|
|