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

Unified Diff: services/shape_detection/text_detection_impl_mac.h

Issue 2875243002: RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: RELAND2: ShapeDetection: use mojom::Bitmap for mojo interface. Created 3 years, 7 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/text_detection_impl_mac.h
diff --git a/services/shape_detection/text_detection_impl_mac.h b/services/shape_detection/text_detection_impl_mac.h
index d86be92799e240acd55c0df85e0fb8dcb060ac83..738d8da85112fb82ae5e72f2098bb5001598a495 100644
--- a/services/shape_detection/text_detection_impl_mac.h
+++ b/services/shape_detection/text_detection_impl_mac.h
@@ -17,9 +17,7 @@ class TextDetectionImplMac : public mojom::TextDetection {
TextDetectionImplMac();
~TextDetectionImplMac() override;
- void Detect(mojo::ScopedSharedBufferHandle frame_data,
- uint32_t width,
- uint32_t height,
+ void Detect(const SkBitmap& bitmap,
const mojom::TextDetection::DetectCallback& callback) override;
private:
« no previous file with comments | « services/shape_detection/public/interfaces/textdetection.mojom ('k') | services/shape_detection/text_detection_impl_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698