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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h

Issue 2629433003: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: ShapeDetection: use mojom::Bitmap for mojo interface. Created 3 years, 11 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 27b56722be7c8032f2151de41703b48b2e2c6b52..d20db8ed05a3bdbd40b6c1aafb64dafda18b6741 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.h
@@ -31,9 +31,7 @@ class MODULES_EXPORT BarcodeDetector final : public ShapeDetector,
~BarcodeDetector() override = default;
ScriptPromise doDetect(ScriptPromiseResolver*,
- mojo::ScopedSharedBufferHandle,
- int imageWidth,
- int imageHeight) override;
+ skia::mojom::blink::BitmapPtr) override;
void onDetectBarcodes(
ScriptPromiseResolver*,
Vector<shape_detection::mojom::blink::BarcodeDetectionResultPtr>);

Powered by Google App Engine
This is Rietveld 408576698