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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java

Issue 2652063002: [Payments] Rename function to avoid unintentional override (Closed)
Patch Set: Created 3 years, 11 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 | « chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentInstrument.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
index f0f2e261630836239ad7c693f876132ba5dbdc6a..77901e805c9267d95cc3cb34fa53bc573a4785c8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java
@@ -1232,7 +1232,7 @@ public class PaymentRequestImpl
// If there's a card on file with a valid number and a name, then
// PaymentRequest.canMakePayment() returns true.
- mCanMakePayment |= creditCard.isValid();
+ mCanMakePayment |= creditCard.isValidCard();
}
// List order:
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/payments/AutofillPaymentInstrument.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698