Index: components/payments/payment_request.h |
diff --git a/components/payments/payment_request.h b/components/payments/payment_request.h |
index fcb582039e85498b395f58ad6b1738065dbdda6c..0207c6b1b705398b3bc83964b2227d12ac3ff805 100644 |
--- a/components/payments/payment_request.h |
+++ b/components/payments/payment_request.h |
@@ -91,7 +91,9 @@ class PaymentRequest : payments::mojom::PaymentRequest { |
selected_contact_profile_ = profile; |
} |
- const std::vector<autofill::CreditCard*>& credit_cards(); |
+ const std::vector<autofill::CreditCard*>& credit_cards() { |
+ return credit_cards_; |
+ } |
// Returns the currently selected credit card for this PaymentRequest flow. |
// It's not guaranteed to be complete. Returns nullptr if there is no selected |