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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAddressTest.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/payments/PaymentAddressTest.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
index 15d52634814c222c4671697607bf1903e0d6000a..f8919759ab3ceeaef58ceb8c4145b564dad07570 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
@@ -14,9 +14,9 @@ TEST(PaymentAddressTest, ValuesAreCopiedOver) {
payments::mojom::blink::PaymentAddressPtr input =
payments::mojom::blink::PaymentAddress::New();
input->country = "US";
- input->address_line.append("340 Main St");
- input->address_line.append("BIN1");
- input->address_line.append("First floor");
+ input->address_line.push_back("340 Main St");
+ input->address_line.push_back("BIN1");
+ input->address_line.push_back("First floor");
input->region = "CA";
input->city = "Los Angeles";
input->dependent_locality = "Venice";

Powered by Google App Engine
This is Rietveld 408576698