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

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

Issue 2539073002: Remove [ConstructorCallWith=ScriptState] from ShapeDetector (Closed)
Patch Set: temp 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 0d3e039569b37521fa8b32ad98683daa91f33711..99cd4fe9d741f2e4be56337cee1238409c16ee8e 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl
@@ -6,7 +6,7 @@
[
Constructor,
- ConstructorCallWith=ScriptState,
+ ConstructorCallWith=Document,
RuntimeEnabled=ShapeDetection,
] interface BarcodeDetector {
[CallWith=ScriptState] Promise<sequence<DetectedBarcode>> detect(CanvasImageSource image);

Powered by Google App Engine
This is Rietveld 408576698