Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java |
index 26f9cb5661e0296368170dc1e859225ef583e012..9d80712f2f7c09e80184682b4b4726ed7b569622 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestServiceWorkerPaymentAppTest.java |
@@ -37,7 +37,7 @@ public class PaymentRequestServiceWorkerPaymentAppTest extends PaymentRequestTes |
* ONE_OPTION or TWO_OPTIONS |
*/ |
private void installServiceWorkerPaymentApp(final int instrumentPresence) { |
- PaymentAppFactory.setServiceWorkerPaymentAppBridgeForTest( |
+ PaymentAppFactory.getInstance().addAdditionalFactory( |
new ServiceWorkerPaymentAppBridge() { |
@Override |
public List<Manifest> getAllAppManifests() { |