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

Unified Diff: services/shape_detection/face_detection_impl_mac.h

Issue 2755393002: Revert of RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: Created 3 years, 9 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: 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 459ffa7e4926713cbfab57e3c31bd7389ec4b61e..fb978c785a36204e44cc8978dfee394816bb0521 100644
--- a/services/shape_detection/face_detection_impl_mac.h
+++ b/services/shape_detection/face_detection_impl_mac.h
@@ -7,7 +7,6 @@
#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;
@@ -19,7 +18,9 @@
shape_detection::mojom::FaceDetectorOptionsPtr options);
~FaceDetectionImplMac() override;
- void Detect(const SkBitmap& bitmap,
+ void Detect(mojo::ScopedSharedBufferHandle frame_data,
+ uint32_t width,
+ uint32_t height,
const shape_detection::mojom::FaceDetection::DetectCallback&
callback) override;
« no previous file with comments | « services/shape_detection/detection_utils_mac.mm ('k') | services/shape_detection/face_detection_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698