| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 5731df87c71d0f4de76657e505412749ca546a1b..bcad1f28e438f346a14c79e032113b16a2ab8f64 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -1227,21 +1227,14 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
|
| base::Bind(&IndexedDBDispatcherHost::AddBinding,
|
| base::Unretained(indexed_db_factory_.get())));
|
|
|
| -#if defined(OS_ANDROID)
|
| - AddUIThreadInterface(
|
| - registry.get(), GetGlobalJavaInterfaces()
|
| - ->CreateInterfaceFactory<
|
| - shape_detection::mojom::FaceDetectionProvider>());
|
| -#else
|
| AddUIThreadInterface(
|
| registry.get(),
|
| base::Bind(&ForwardShapeDetectionRequest<
|
| - shape_detection::mojom::FaceDetectionProviderRequest>));
|
| -#endif
|
| + shape_detection::mojom::BarcodeDetectionRequest>));
|
| AddUIThreadInterface(
|
| registry.get(),
|
| base::Bind(&ForwardShapeDetectionRequest<
|
| - shape_detection::mojom::BarcodeDetectionRequest>));
|
| + shape_detection::mojom::FaceDetectionProviderRequest>));
|
| AddUIThreadInterface(
|
| registry.get(),
|
| base::Bind(&ForwardShapeDetectionRequest<
|
|
|