| Index: content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionImpl.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionImpl.java b/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionImpl.java
|
| index 6451c856de4d5dd3e78c68e2e2533e01b3b29979..63f357c5a31bf7854f6ea1618bea39e01fe2c2a3 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionImpl.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/shapedetection/ShapeDetectionImpl.java
|
| @@ -12,6 +12,7 @@ import android.media.FaceDetector.Face;
|
| import org.chromium.base.Log;
|
| import org.chromium.blink.mojom.BarcodeDetectionResult;
|
| import org.chromium.blink.mojom.FaceDetectionResult;
|
| +import org.chromium.blink.mojom.FaceDetectorOptions;
|
| import org.chromium.blink.mojom.ShapeDetection;
|
| import org.chromium.gfx.mojom.RectF;
|
| import org.chromium.mojo.system.MojoException;
|
| @@ -35,8 +36,8 @@ public class ShapeDetectionImpl implements ShapeDetection {
|
| public ShapeDetectionImpl() {}
|
|
|
| @Override
|
| - public void detectFaces(
|
| - SharedBufferHandle frameData, int width, int height, DetectFacesResponse callback) {
|
| + public void detectFaces(SharedBufferHandle frameData, int width, int height,
|
| + FaceDetectorOptions options, DetectFacesResponse callback) {
|
| if (!frameData.isValid()) {
|
| Log.d(TAG, "Invalid sharedBufferHandle.");
|
| return;
|
|
|