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

Unified Diff: third_party/WebKit/Source/modules/imagecapture/ImageCapture.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/imagecapture/ImageCapture.cpp
diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
index d07159fe5403c335dbbed24e599da6e1091dcb4c..bdd04c2599566ef2a18ad4061b270d7638a5656b 100644
--- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
+++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
@@ -180,7 +180,7 @@ ScriptPromise ImageCapture::setOptions(ScriptState* scriptState,
auto mojoPoint = media::mojom::blink::Point2D::New();
mojoPoint->x = point.x();
mojoPoint->y = point.y();
- settings->points_of_interest.append(std::move(mojoPoint));
+ settings->points_of_interest.push_back(std::move(mojoPoint));
}
}
settings->has_color_temperature = photoSettings.hasColorTemperature();

Powered by Google App Engine
This is Rietveld 408576698