| Index: services/shape_detection/public/interfaces/facedetection.mojom
|
| diff --git a/services/shape_detection/public/interfaces/facedetection.mojom b/services/shape_detection/public/interfaces/facedetection.mojom
|
| index dda46fa969816f1872a6c4f05208c7e0930f5ff8..eb90fa99731b12859fabfcf6b5764a11f91a5335 100644
|
| --- a/services/shape_detection/public/interfaces/facedetection.mojom
|
| +++ b/services/shape_detection/public/interfaces/facedetection.mojom
|
| @@ -6,6 +6,7 @@
|
|
|
| module shape_detection.mojom;
|
|
|
| +import "skia/public/interfaces/bitmap.mojom";
|
| import "ui/gfx/geometry/mojo/geometry.mojom";
|
|
|
| // https://wicg.github.io/shape-detection-api/#enumdef-landmarktype
|
| @@ -31,9 +32,7 @@ struct FaceDetectorOptions {
|
| };
|
|
|
| interface FaceDetection {
|
| - // |frame_data| contains tightly packed image pixels in ARGB32 format,
|
| - // row-major order.
|
| - // TODO(mcasas): Consider using mojo::Bitmap here, https://crbug.com/665488.
|
| - Detect(handle<shared_buffer> frame_data, uint32 width, uint32 height)
|
| + // |bitmap_data| contains tightly packed image pixels in row-major order.
|
| + Detect(skia.mojom.Bitmap bitmap_data)
|
| => (array<FaceDetectionResult> results);
|
| };
|
|
|