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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.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: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
index 7e3fa4af89e405641351cc6fe87e7f05dab4670c..2d0e598637bde6b6a1bb311869efc3efaa19edb9 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
@@ -29,7 +29,9 @@
~BarcodeDetector() override = default;
ScriptPromise doDetect(ScriptPromiseResolver*,
- skia::mojom::blink::BitmapPtr) override;
+ mojo::ScopedSharedBufferHandle,
+ int imageWidth,
+ int imageHeight) override;
void onDetectBarcodes(
ScriptPromiseResolver*,
Vector<shape_detection::mojom::blink::BarcodeDetectionResultPtr>);

Powered by Google App Engine
This is Rietveld 408576698