Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 62af2d512a5e24dcbab2198a2e39430e2a3f91bb..59c0105b8588c85460f1070bd09e44448a4ab795 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -202,9 +202,9 @@ |
#include "services/service_manager/public/cpp/interface_provider.h" |
#include "services/service_manager/public/cpp/interface_registry.h" |
#include "services/service_manager/public/cpp/service.h" |
+#include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" |
+#include "services/shape_detection/public/interfaces/textdetection.mojom.h" |
#include "storage/browser/fileapi/external_mount_points.h" |
-#include "third_party/WebKit/public/platform/modules/shapedetection/barcodedetection.mojom.h" |
-#include "third_party/WebKit/public/platform/modules/shapedetection/textdetection.mojom.h" |
#include "third_party/WebKit/public/platform/modules/webshare/webshare.mojom.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -3004,7 +3004,11 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoInterfaces( |
if (AreExperimentalWebPlatformFeaturesEnabled()) { |
registry->AddInterface( |
web_contents->GetJavaInterfaces() |
- ->CreateInterfaceFactory<blink::mojom::BarcodeDetection>()); |
+ ->CreateInterfaceFactory< |
+ shape_detection::mojom::BarcodeDetection>()); |
+ registry->AddInterface(web_contents->GetJavaInterfaces() |
+ ->CreateInterfaceFactory< |
+ shape_detection::mojom::TextDetection>()); |
mcasas
2017/01/10 22:20:32
TextDetection registration is already in ToT. Wron
|
} |
} |
#elif defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_WIN) |