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

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

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/FaceDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
index e4c3cf0c5006dc3353fc0b953c48af9c8b967bcb..83b6054cc24f7320da13303ce73f9b3fe95b547b 100644
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
@@ -21,7 +21,7 @@ class MODULES_EXPORT FaceDetector final : public ShapeDetector,
DEFINE_WRAPPERTYPEINFO();
public:
- static FaceDetector* create(ScriptState*, const FaceDetectorOptions&);
+ static FaceDetector* create(Document&, const FaceDetectorOptions&);
ScriptPromise detect(ScriptState*, const CanvasImageSourceUnion&);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698