| Index: third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp
|
| index 53d95c579b351bd130f9c5bb63937ec230c6091c..79d6ef77207cf267dfc721fe757ee209eca26516 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.cpp
|
| @@ -166,7 +166,7 @@ ScriptPromise ShapeDetector::detectShapesOnImageElement(
|
| if (detectorType == DetectorType::Face) {
|
| m_service->DetectFaces(
|
| std::move(sharedBufferHandle), img->naturalWidth(),
|
| - img->naturalHeight(),
|
| + img->naturalHeight(), m_options.Clone(),
|
| convertToBaseCallback(WTF::bind(&ShapeDetector::onDetectFaces,
|
| wrapPersistent(this),
|
| wrapPersistent(resolver))));
|
| @@ -306,7 +306,7 @@ ScriptPromise ShapeDetector::detectShapesOnData(DetectorType detectorType,
|
| DCHECK(m_service.is_bound());
|
| if (detectorType == DetectorType::Face) {
|
| m_service->DetectFaces(
|
| - std::move(sharedBufferHandle), width, height,
|
| + std::move(sharedBufferHandle), width, height, m_options.Clone(),
|
| convertToBaseCallback(WTF::bind(&ShapeDetector::onDetectFaces,
|
| wrapPersistent(this),
|
| wrapPersistent(resolver))));
|
|
|