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

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

Issue 2039863002: PaymentRequest: Sync up PaymentAddress with the payment request spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/PaymentAddress.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAddress.cpp b/third_party/WebKit/Source/modules/payments/PaymentAddress.cpp
index 7fa4165b6b919ebfcf9492d20da08b2c24061e50..982a7592d6e8f8a02119da8ff43389d87fa3a2f3 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddress.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddress.cpp
@@ -7,10 +7,10 @@
namespace blink {
PaymentAddress::PaymentAddress(mojom::blink::PaymentAddressPtr address)
- : m_regionCode(address->region_code)
+ : m_country(address->country)
, m_addressLine(address->address_line.PassStorage())
- , m_administrativeArea(address->administrative_area)
- , m_locality(address->locality)
+ , m_region(address->region)
+ , m_city(address->city)
, m_dependentLocality(address->dependent_locality)
, m_postalCode(address->postal_code)
, m_sortingCode(address->sorting_code)

Powered by Google App Engine
This is Rietveld 408576698