| Index: chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java b/chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java
|
| index 799b847f8312bd5a4970ecef0d23cc515f5aa1d5..bb0353c8dda49bf2fca85c1ff8db7d014cdfee3a 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java
|
| @@ -8,8 +8,8 @@ import android.content.Context;
|
|
|
| import org.chromium.base.annotations.CalledByNative;
|
| import org.chromium.chrome.browser.payments.PaymentRequestFactory;
|
| -import org.chromium.chrome.browser.shapedetection.BarcodeDetectionFactory;
|
| -import org.chromium.chrome.browser.shapedetection.TextDetectionFactory;
|
| +import org.chromium.chrome.browser.shapedetection.BarcodeDetectionImpl;
|
| +import org.chromium.chrome.browser.shapedetection.TextDetectionImpl;
|
| import org.chromium.chrome.browser.webshare.ShareServiceImplementationFactory;
|
| import org.chromium.content_public.browser.InterfaceRegistrar;
|
| import org.chromium.content_public.browser.WebContents;
|
| @@ -33,8 +33,9 @@ class ChromeContextInterfaceRegistrar implements InterfaceRegistrar<Context> {
|
| @Override
|
| public void registerInterfaces(InterfaceRegistry registry, final Context applicationContext) {
|
| registry.addInterface(
|
| - BarcodeDetection.MANAGER, new BarcodeDetectionFactory(applicationContext));
|
| - registry.addInterface(TextDetection.MANAGER, new TextDetectionFactory(applicationContext));
|
| + BarcodeDetection.MANAGER, new BarcodeDetectionImpl.Factory(applicationContext));
|
| + registry.addInterface(
|
| + TextDetection.MANAGER, new TextDetectionImpl.Factory(applicationContext));
|
| }
|
| }
|
|
|
|
|