Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cf82763bf7b278651c80b42c03022b753af4f4ff..3ab69ce7ca9df1a9239f214f44338c52aa7a931f 100644
--- a/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
+++ b/third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.cpp
@@ -59,9 +59,9 @@ void BarcodeDetector::onDetectBarcodes(
Point2D point;
point.setX(corner_point->x);
point.setY(corner_point->y);
- cornerPoints.append(point);
+ cornerPoints.push_back(point);
}
- detectedBarcodes.append(DetectedBarcode::create(
+ detectedBarcodes.push_back(DetectedBarcode::create(
barcode->raw_value,
DOMRect::create(barcode->bounding_box->x, barcode->bounding_box->y,
barcode->bounding_box->width,

Powered by Google App Engine
This is Rietveld 408576698