| Index: third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
|
| index 21ccd6b1a198ed327c585d3cb97de71e2d1816c2..20883f7396230754ea03f4b1288400889bc3bc7b 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
|
| @@ -10,7 +10,8 @@
|
| #include "modules/ModulesExport.h"
|
| #include "modules/canvas2d/CanvasRenderingContext2D.h"
|
| #include "modules/shapedetection/FaceDetectorOptions.h"
|
| -#include "public/platform/modules/shapedetection/shapedetection.mojom-blink.h"
|
| +#include "public/platform/modules/shapedetection/barcodedetection.mojom-blink.h"
|
| +#include "public/platform/modules/shapedetection/facedetection.mojom-blink.h"
|
|
|
| namespace blink {
|
|
|
| @@ -56,12 +57,13 @@ class MODULES_EXPORT ShapeDetector
|
| void onDetectBarcodes(ScriptPromiseResolver*,
|
| Vector<mojom::blink::BarcodeDetectionResultPtr>);
|
|
|
| - mojom::blink::ShapeDetectionPtr m_service;
|
| + mojom::blink::FaceDetectionPtr m_faceService;
|
| + mojom::blink::BarcodeDetectionPtr m_barcodeService;
|
|
|
| HeapHashSet<Member<ScriptPromiseResolver>> m_serviceRequests;
|
|
|
| protected:
|
| - mojom::blink::FaceDetectorOptionsPtr m_options;
|
| + mojom::blink::FaceDetectorOptionsPtr m_faceDetectorOptions;
|
| };
|
|
|
| } // namespace blink
|
|
|