Index: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentAppFactory.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentAppFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentAppFactory.java |
index 69681e9fa519d71f7212d87263cbd26d3e0f5094..2c9720831e8591bbc200be24539fbb9573d04e51 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentAppFactory.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentAppFactory.java |
@@ -4,6 +4,8 @@ |
package org.chromium.chrome.browser.payments; |
+import android.content.Context; |
+ |
import org.chromium.base.VisibleForTesting; |
import org.chromium.content_public.browser.WebContents; |
@@ -45,9 +47,9 @@ public class PaymentAppFactory { |
* |
* @param webContents The web contents where PaymentRequest was invoked. |
*/ |
- public static List<PaymentApp> create(WebContents webContents) { |
+ public static List<PaymentApp> create(Context context, WebContents webContents) { |
List<PaymentApp> result = new ArrayList<>(2); |
- result.add(new AutofillPaymentApp(webContents)); |
+ result.add(new AutofillPaymentApp(context, webContents)); |
if (sAdditionalFactory != null) result.addAll(sAdditionalFactory.create(webContents)); |
return result; |
} |