Index: third_party/WebKit/Source/modules/payments/PaymentAddress.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAddress.h b/third_party/WebKit/Source/modules/payments/PaymentAddress.h |
index c857e1b673abaee2285c13075b4c8a66669af131..444f490b4dcfdeb4352030b09ad451f0869780fe 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentAddress.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddress.h |
@@ -5,6 +5,7 @@ |
#ifndef PaymentAddress_h |
#define PaymentAddress_h |
+#include "bindings/core/v8/ScriptValue.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "modules/ModulesExport.h" |
#include "platform/heap/Handle.h" |
@@ -23,6 +24,8 @@ public: |
explicit PaymentAddress(mojom::blink::PaymentAddressPtr); |
virtual ~PaymentAddress(); |
+ ScriptValue toJSONForBinding(ScriptState*) const; |
+ |
const String& country() const { return m_country; } |
const Vector<String>& addressLine() const { return m_addressLine; } |
const String& region() const { return m_region; } |