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

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

Issue 2352513002: PaymentRequest: Deprecate careOf attribute in PaymentAddress. (Closed)
Patch Set: test Created 4 years, 3 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.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAddress.h b/third_party/WebKit/Source/modules/payments/PaymentAddress.h
index 444f490b4dcfdeb4352030b09ad451f0869780fe..a48d3a59d7b4ef07c625579fd865d6a013b5c2e5 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAddress.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentAddress.h
@@ -16,6 +16,8 @@
namespace blink {
+class ExecutionContext;
please use gerrit instead 2016/09/22 13:22:37 What is the reason for this declaration?
zino 2016/09/22 15:42:30 It's my mistake. Done. Thanks.
+
class MODULES_EXPORT PaymentAddress final : public GarbageCollectedFinalized<PaymentAddress>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
WTF_MAKE_NONCOPYABLE(PaymentAddress);
@@ -36,7 +38,7 @@ public:
const String& languageCode() const { return m_languageCode; }
const String& organization() const { return m_organization; }
const String& recipient() const { return m_recipient; }
- const String& careOf() const { return m_careOf; }
+ const String careOf() const { return WTF::emptyString(); }
const String& phone() const { return m_phone; }
DEFINE_INLINE_TRACE() {}
@@ -52,7 +54,6 @@ private:
String m_languageCode;
String m_organization;
String m_recipient;
- String m_careOf;
String m_phone;
};

Powered by Google App Engine
This is Rietveld 408576698