Index: services/shape_detection/barcode_detection_impl_mac.h |
diff --git a/services/shape_detection/barcode_detection_impl_mac.h b/services/shape_detection/barcode_detection_impl_mac.h |
index a77798976a22e74619169fede3ed19985038e651..6a5609ad76469e7b62553723f86362e87068d5d9 100644 |
--- a/services/shape_detection/barcode_detection_impl_mac.h |
+++ b/services/shape_detection/barcode_detection_impl_mac.h |
@@ -7,6 +7,7 @@ |
#include "base/mac/scoped_nsobject.h" |
#include "services/shape_detection/public/interfaces/barcodedetection.mojom.h" |
+#include "third_party/skia/include/core/SkBitmap.h" |
@class CIDetector; |
@@ -18,9 +19,7 @@ class BarcodeDetectionImplMac |
BarcodeDetectionImplMac(); |
~BarcodeDetectionImplMac() override; |
- void Detect(mojo::ScopedSharedBufferHandle frame_data, |
- uint32_t width, |
- uint32_t height, |
+ void Detect(const SkBitmap& bitmap, |
const shape_detection::mojom::BarcodeDetection::DetectCallback& |
callback) override; |