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 44bc75d4b1ef2bfa34541677372ae808c686100a..f8adf42d27b1028d20d8ec4266aafae20ae8f92b 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 |
@@ -234,7 +234,7 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie |
} |
}); |
- mApps = PaymentAppFactory.create(webContents); |
+ mApps = PaymentAppFactory.create(mContext, webContents); |
mAddressEditor = new AddressEditor(); |
mCardEditor = new CardEditor(webContents, mAddressEditor, sObserverForTest); |
@@ -654,7 +654,7 @@ public class PaymentRequestImpl implements PaymentRequest, PaymentRequestUI.Clie |
for (int i = 0; i < options.length; i++) { |
PaymentShippingOption option = options[i]; |
result.add(new PaymentOption(option.id, option.label, |
- formatter.format(option.amount.value), PaymentOption.NO_ICON)); |
+ formatter.format(option.amount.value), null)); |
if (option.selected) selectedItemIndex = i; |
} |