Index: services/shape_detection/face_detection_impl_mac.h |
diff --git a/services/shape_detection/face_detection_impl_mac.h b/services/shape_detection/face_detection_impl_mac.h |
index fb978c785a36204e44cc8978dfee394816bb0521..459ffa7e4926713cbfab57e3c31bd7389ec4b61e 100644 |
--- a/services/shape_detection/face_detection_impl_mac.h |
+++ b/services/shape_detection/face_detection_impl_mac.h |
@@ -7,6 +7,7 @@ |
#include "base/mac/scoped_nsobject.h" |
#include "services/shape_detection/public/interfaces/facedetection.mojom.h" |
+#include "third_party/skia/include/core/SkBitmap.h" |
@class CIDetector; |
@@ -18,9 +19,7 @@ class FaceDetectionImplMac : public shape_detection::mojom::FaceDetection { |
shape_detection::mojom::FaceDetectorOptionsPtr options); |
~FaceDetectionImplMac() override; |
- void Detect(mojo::ScopedSharedBufferHandle frame_data, |
- uint32_t width, |
- uint32_t height, |
+ void Detect(const SkBitmap& bitmap, |
const shape_detection::mojom::FaceDetection::DetectCallback& |
callback) override; |