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

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: 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/PaymentTestHelper.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp
index ecbb264780ca82ca8221ae80bed4e3edb1cdab0f..523280049d4b522b49250dfa7e319bf443ce997d 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::PaymentCurrencyAmount::New();
return result;
}

Powered by Google App Engine
This is Rietveld 408576698