| Index: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| index 7f5f3a37049edd5f0ff564ebc2d57930ad1ee9b7..df25107bb1ba44b118a6d033f19ee8428b550c1d 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
|
| @@ -54,15 +54,15 @@ void BarcodeDetector::OnDetectBarcodes(
|
| HeapVector<Point2D> corner_points;
|
| for (const auto& corner_point : barcode->corner_points) {
|
| Point2D point;
|
| - point.setX(corner_point->x);
|
| - point.setY(corner_point->y);
|
| + point.setX(corner_point.x);
|
| + point.setY(corner_point.y);
|
| corner_points.push_back(point);
|
| }
|
| detected_barcodes.push_back(DetectedBarcode::Create(
|
| barcode->raw_value,
|
| - DOMRect::Create(barcode->bounding_box->x, barcode->bounding_box->y,
|
| - barcode->bounding_box->width,
|
| - barcode->bounding_box->height),
|
| + DOMRect::Create(barcode->bounding_box.x, barcode->bounding_box.y,
|
| + barcode->bounding_box.width,
|
| + barcode->bounding_box.height),
|
| corner_points));
|
| }
|
|
|
|
|