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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/FaceDetector.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
« no previous file with comments | « third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
index c31e41cfaba5f10121566b8ca9354e582a038d3c..03a6dd12407d1514a730b2af4ab4eee0ec1c164d 100644
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
@@ -6,7 +6,7 @@
[
Constructor(optional FaceDetectorOptions faceDetectorOptions),
- ConstructorCallWith=ScriptState,
+ ConstructorCallWith=Document,
RuntimeEnabled=ShapeDetection,
] interface FaceDetector {
[CallWith=ScriptState] Promise<sequence<DetectedObject>> detect(CanvasImageSource image);
« no previous file with comments | « third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698