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

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

Issue 2550413005: ShapeDetection: use ImageBitmapSource as input and support ImageData (Closed)
Patch Set: xianglu@ comments and added forgotten LayoutTest detection-ImageData.html Created 4 years 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.idl
diff --git a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl
index e31eb6631ffd793f8df6e8e12b5d42e2b64c20b1..75d629b581143daf183b79e63366bd05e614dbb9 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl
@@ -10,5 +10,5 @@
Exposed=(Window,Worker),
RuntimeEnabled=ShapeDetection,
] interface BarcodeDetector {
- [CallWith=ScriptState, Measure] Promise<sequence<DetectedBarcode>> detect(CanvasImageSource image);
+ [CallWith=ScriptState, Measure] Promise<sequence<DetectedBarcode>> detect(ImageBitmapSource image);
};

Powered by Google App Engine
This is Rietveld 408576698