Index: third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
index f5ea8a1e4d75a4e082d93ed7bcd863783233e7fe..3e4eb62a249d7cc15e133aa0879c74f19ae530cc 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp |
@@ -223,7 +223,7 @@ TEST_F(PaymentRequestTest, DontRejectShowPromiseForValidShippingAddress) |
PaymentRequest* request = PaymentRequest::create(getScriptState(), Vector<String>(1, "foo"), buildPaymentDetailsForTest(), getExceptionState()); |
EXPECT_FALSE(getExceptionState().hadException()); |
mojom::blink::PaymentAddressPtr shippingAddress = mojom::blink::PaymentAddress::New(); |
- shippingAddress->region_code = "US"; |
+ shippingAddress->country = "US"; |
shippingAddress->language_code = "en"; |
shippingAddress->script_code = "Latn"; |
@@ -239,7 +239,7 @@ TEST_F(PaymentRequestTest, ResolveShowPromiseWithValidShippingAddressInResponse) |
EXPECT_FALSE(getExceptionState().hadException()); |
mojom::blink::PaymentResponsePtr response = mojom::blink::PaymentResponse::New(); |
response->shipping_address = mojom::blink::PaymentAddress::New(); |
- response->shipping_address->region_code = "US"; |
+ response->shipping_address->country = "US"; |
response->shipping_address->language_code = "en"; |
response->shipping_address->script_code = "Latn"; |