Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2726843006: ShapeDetection: add support for Text Detection in Mac (Closed)
Patch Set: offline reillyg@s comment on DCHECK location Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 2c48d780f0fd99df89d492dc61abe6e947cd9d78..e7b7c214efa0b5c1cd2f2380233815be1f76720d 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1229,6 +1229,10 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
registry.get(),
base::Bind(&ForwardShapeDetectionRequest<
shape_detection::mojom::FaceDetectionProviderRequest>));
+ AddUIThreadInterface(
+ registry.get(),
+ base::Bind(&ForwardShapeDetectionRequest<
+ shape_detection::mojom::TextDetectionRequest>));
#endif
AddUIThreadInterface(
registry.get(),

Powered by Google App Engine
This is Rietveld 408576698