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 99cd4fe9d741f2e4be56337cee1238409c16ee8e..122a3649c61a19a2ab330010b92dc643573da5ae 100644 |
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl |
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl |
@@ -7,6 +7,7 @@ |
[ |
Constructor, |
ConstructorCallWith=Document, |
+ Exposed=(Window,Worker), |
RuntimeEnabled=ShapeDetection, |
] interface BarcodeDetector { |
[CallWith=ScriptState] Promise<sequence<DetectedBarcode>> detect(CanvasImageSource image); |