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

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

Issue 2757523002: [Payments] Use PaymentInstrument/AutofillPaymentInstrument throughout. (Closed)
Patch Set: remove instrument cache Created 3 years, 9 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
Index: components/payments/content/payment_request.cc
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc
index 310cc5acb366916bb92ac79f25641948542947e9..77f03bf89c926850a998ed82f85d1ff1cd7b652f 100644
--- a/components/payments/content/payment_request.cc
+++ b/components/payments/content/payment_request.cc
@@ -125,8 +125,6 @@ void PaymentRequest::OnConnectionTerminated() {
}
void PaymentRequest::Pay() {
- DCHECK(state_->is_ready_to_pay());
-
state_->GeneratePaymentResponse();
}

Powered by Google App Engine
This is Rietveld 408576698