Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1618)

Unified Diff: components/payments/content/payment_request_state.cc

Issue 2849523003: Add billing address as a mandatory field of Payments credit cards. (Closed)
Patch Set: Merge branch 'master' into billing Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill_strings.grdp ('k') | components/payments/core/autofill_payment_instrument.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/content/payment_request_state.cc
diff --git a/components/payments/content/payment_request_state.cc b/components/payments/content/payment_request_state.cc
index 8a6b7304452eb3ac890b056130cb62e0050e32a2..dac01e502e008834766e507a7e9e6347f52ff3b6 100644
--- a/components/payments/content/payment_request_state.cc
+++ b/components/payments/content/payment_request_state.cc
@@ -246,11 +246,9 @@ void PaymentRequestState::SetDefaultProfileSelections() {
[](const std::unique_ptr<PaymentInstrument>& instrument) {
return instrument->IsCompleteForPayment();
});
-
selected_instrument_ = first_complete_instrument == instruments.end()
? nullptr
: first_complete_instrument->get();
-
UpdateIsReadyToPayAndNotifyObservers();
}
« no previous file with comments | « components/autofill_strings.grdp ('k') | components/payments/core/autofill_payment_instrument.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698