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

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

Issue 2072963002: Remove PaymentResponse.totalAmount according to latest spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final touch-up 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/PaymentResponse.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentResponse.h b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
index f41d5fa027898a838a83e21246cfd0a3d3ff5161..1f9594ce4a9741d2053b13bee6455ac51d345b42 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentResponse.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentResponse.h
@@ -31,7 +31,6 @@ public:
virtual ~PaymentResponse();
const String& methodName() const { return m_methodName; }
- void totalAmount(PaymentCurrencyAmount& result) const { result = m_totalAmount; }
ScriptValue details(ScriptState*, ExceptionState&) const;
PaymentAddress* shippingAddress() const { return m_shippingAddress.get(); }
const String& shippingOption() const { return m_shippingOption; }
@@ -44,7 +43,6 @@ public:
private:
String m_methodName;
- PaymentCurrencyAmount m_totalAmount;
String m_stringifiedDetails;
Member<PaymentAddress> m_shippingAddress;
String m_shippingOption;

Powered by Google App Engine
This is Rietveld 408576698