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

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

Issue 2072963002: Remove PaymentResponse.totalAmount according to latest 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/PaymentTestHelper.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
index 918524aaa7799a37e8b297536998b00ca1cc1e4b..92fd690b84985e8a8a751d6febb950267280d34f 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
@@ -104,7 +104,6 @@ HeapVector<PaymentMethodData> buildPaymentMethodDataForTest()
mojom::blink::PaymentResponsePtr buildPaymentResponseForTest()
{
mojom::blink::PaymentResponsePtr result = mojom::blink::PaymentResponse::New();
- result->total_amount = mojom::blink::CurrencyAmount::New();
return result;
}

Powered by Google App Engine
This is Rietveld 408576698