| 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 6cb1723badaef8aad0f8449ea4c4f76ce7a13f52..52478f3dda82dc9f370f6f807c0ebbb31b3e979d 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
|
| @@ -11,6 +11,7 @@
|
| #include "modules/ModulesExport.h"
|
| #include "modules/canvas2d/CanvasRenderingContext2D.h"
|
| #include "public/platform/modules/shapedetection/shapedetection.mojom-blink.h"
|
| +#include "wtf/CheckedNumeric.h"
|
|
|
| namespace blink {
|
|
|
| @@ -32,7 +33,14 @@ class MODULES_EXPORT FaceDetector final
|
| ScriptPromise detectFacesOnImageElement(ScriptPromiseResolver*,
|
| const HTMLImageElement*);
|
| ScriptPromise detectFacesOnImageBitmap(ScriptPromiseResolver*, ImageBitmap*);
|
| -
|
| + ScriptPromise detectFacesOnVideoElement(ScriptPromiseResolver*,
|
| + const HTMLVideoElement*);
|
| +
|
| + ScriptPromise detectFacesOnData(ScriptPromiseResolver*,
|
| + uint8_t* data,
|
| + WTF::CheckedNumeric<int> size,
|
| + int width,
|
| + int height);
|
| void onDetectFace(ScriptPromiseResolver*,
|
| mojom::blink::FaceDetectionResultPtr);
|
|
|
|
|