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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp

Issue 2406923002: Move payment_request.mojom file to components/ (Closed)
Patch Set: Add Android test dependencies Created 4 years, 2 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 c90b47b0015ed1f14927362841f7785672faa44e..1331158b3d4c300e866282f2dd76b70d84819f63 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddressTest.cpp
@@ -13,10 +13,9 @@ namespace {
TEST(PaymentAddressTest, ValuesAreCopiedOver) {
mojom::blink::PaymentAddressPtr input = mojom::blink::PaymentAddress::New();
input->country = "US";
- input->address_line = mojo::WTFArray<WTF::String>::New(3);
- input->address_line[0] = "340 Main St";
- input->address_line[1] = "BIN1";
- input->address_line[2] = "First floor";
+ input->address_line.append("340 Main St");
+ input->address_line.append("BIN1");
+ input->address_line.append("First floor");
input->region = "CA";
input->city = "Los Angeles";
input->dependent_locality = "Venice";

Powered by Google App Engine
This is Rietveld 408576698