Index: components/payments/content/payment_response_helper.h |
diff --git a/components/payments/content/payment_response_helper.h b/components/payments/content/payment_response_helper.h |
index fde039d74482f36e8249521581b622815f006a8d..7c9f4f5f7b40b97f830ab3684f2f2d300e73e4f5 100644 |
--- a/components/payments/content/payment_response_helper.h |
+++ b/components/payments/content/payment_response_helper.h |
@@ -43,7 +43,7 @@ class PaymentResponseHelper : public PaymentInstrument::Delegate, |
// Returns a new mojo PaymentAddress based on the specified |
// |profile| and |app_locale|. |
static mojom::PaymentAddressPtr GetMojomPaymentAddressFromAutofillProfile( |
- const autofill::AutofillProfile* const profile, |
+ const autofill::AutofillProfile& profile, |
const std::string& app_locale); |
// PaymentInstrument::Delegate |
@@ -74,6 +74,8 @@ class PaymentResponseHelper : public PaymentInstrument::Delegate, |
// Not owned, can be null (dependent on the spec). |
autofill::AutofillProfile* selected_contact_profile_; |
+ // A normalized copy of the shipping address, which will be included in the |
+ // PaymentResponse. |
autofill::AutofillProfile shipping_address_; |
// Instrument Details. |