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 5f3f04bf9955fe3c38af54b26a6d626e1c9a272e..64a6bf1585a0422cbedcd809138b8937dc4ace23 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 |
@@ -281,8 +281,8 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie |
for (int i = 0; i < details.items.length; i++) { |
PaymentItem item = details.items[i]; |
// "id", "label", "currencyCode", and "value" should be non-empty. |
- if (item == null || TextUtils.isEmpty(item.id) || TextUtils.isEmpty(item.label) |
- || item.amount == null || TextUtils.isEmpty(item.amount.currencyCode) |
+ if (item == null || TextUtils.isEmpty(item.label) || item.amount == null |
+ || TextUtils.isEmpty(item.amount.currencyCode) |
|| TextUtils.isEmpty(item.amount.value)) { |
return null; |
} |