| 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 a503ae1149b7e1e708dcb7896ff97911ed486c66..84f6b9fba86d9e6b30153d9e4f432262099652b2 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
|
| @@ -16,19 +16,18 @@
|
| namespace blink {
|
|
|
| class FaceDetectorOptions;
|
| -class LocalFrame;
|
|
|
| class MODULES_EXPORT FaceDetector final : public ShapeDetector,
|
| public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - static FaceDetector* create(Document&, const FaceDetectorOptions&);
|
| + static FaceDetector* create(const FaceDetectorOptions&);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - FaceDetector(LocalFrame&, const FaceDetectorOptions&);
|
| + explicit FaceDetector(const FaceDetectorOptions&);
|
| ~FaceDetector() override = default;
|
|
|
| ScriptPromise doDetect(ScriptPromiseResolver*,
|
|
|