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

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..10fc77910557bff1aa91ba5c75f2b07d0379a163 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddress.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddress.cpp
@@ -7,16 +7,18 @@
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)
, m_languageCode(address->language_code)
, m_organization(address->organization)
, m_recipient(address->recipient)
+ , m_careOf(address->careOf)
+ , m_phone(address->phone)
{
if (!m_languageCode.isEmpty() && !address->script_code.isEmpty()) {
m_languageCode.append("-");

Powered by Google App Engine
This is Rietveld 408576698