| Index: third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| index 2f5c485fd8376c02e511c1a4f0bd8571d29e7ed1..148fed7633f925dbcf461857bac0a3fb78edfbf0 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp
|
| @@ -65,8 +65,8 @@ void FaceDetector::OnDetectFaces(
|
| HeapVector<Landmark> landmarks;
|
| for (const auto& landmark : face->landmarks) {
|
| Point2D location;
|
| - location.setX(landmark->location->x);
|
| - location.setY(landmark->location->y);
|
| + location.setX(landmark->location.x);
|
| + location.setY(landmark->location.y);
|
| Landmark web_landmark;
|
| web_landmark.setLocation(location);
|
| if (landmark->type == shape_detection::mojom::blink::LandmarkType::EYE) {
|
| @@ -79,8 +79,8 @@ void FaceDetector::OnDetectFaces(
|
| }
|
|
|
| detected_faces.push_back(DetectedFace::Create(
|
| - DOMRect::Create(face->bounding_box->x, face->bounding_box->y,
|
| - face->bounding_box->width, face->bounding_box->height),
|
| + DOMRect::Create(face->bounding_box.x, face->bounding_box.y,
|
| + face->bounding_box.width, face->bounding_box.height),
|
| landmarks));
|
| }
|
|
|
|
|