| Index: services/shape_detection/public/interfaces/textdetection.mojom
|
| diff --git a/services/shape_detection/public/interfaces/textdetection.mojom b/services/shape_detection/public/interfaces/textdetection.mojom
|
| index 6e8bb01d34a4e9e6508b875daffcf0c6e8ca671b..289b8fb70b0949f2dffe5f116b6910e60c163ab5 100644
|
| --- a/services/shape_detection/public/interfaces/textdetection.mojom
|
| +++ b/services/shape_detection/public/interfaces/textdetection.mojom
|
| @@ -4,6 +4,7 @@
|
|
|
| module shape_detection.mojom;
|
|
|
| +import "skia/public/interfaces/bitmap.mojom";
|
| import "ui/gfx/geometry/mojo/geometry.mojom";
|
|
|
| struct TextDetectionResult {
|
| @@ -14,6 +15,6 @@ struct TextDetectionResult {
|
| interface TextDetection {
|
| // |frame_data| contains tightly packed image pixels in ARGB32 format,
|
| // row-major order.
|
| - Detect(handle<shared_buffer> frame_data, uint32 width, uint32 height)
|
| + Detect(skia.mojom.Bitmap image)
|
| => (array<TextDetectionResult> results);
|
| };
|
|
|