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 060c66f89195f31b31daa50b731e2c50532e69a7..ca99bb08c3654952f0f7d3603561790f2a3b6662 100644 |
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp |
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.cpp |
@@ -64,7 +64,7 @@ void FaceDetector::onDetectFaces( |
HeapVector<Member<DetectedFace>> detectedFaces; |
for (const auto& boundingBox : faceDetectionResult->bounding_boxes) { |
- detectedFaces.append(DetectedFace::create( |
+ detectedFaces.push_back(DetectedFace::create( |
DOMRect::create(boundingBox->x, boundingBox->y, boundingBox->width, |
boundingBox->height))); |
} |