Chromium Code Reviews| 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 06d31586667bd907e6a671fe9e07bc8dd57e4353..1a84751be3105ac1bb67010a1a1cc3633fc416b8 100644 |
| --- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp |
| +++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp |
| @@ -23,8 +23,10 @@ void setValues(PaymentItemOrPaymentShippingOption& original, |
| const String& valueToUse) { |
| PaymentCurrencyAmount itemAmount; |
| if (data == PaymentTestDataCurrencyCode) { |
| - if (modificationType == PaymentTestOverwriteValue) |
| + if (modificationType == PaymentTestOverwriteValue) { |
| itemAmount.setCurrency(valueToUse); |
| + itemAmount.setCurrencySystem("http://www.example.com"); |
|
please use gerrit instead
2016/10/12 23:35:49
Please add PaymentTestDataCurrencySystem and call
pals
2016/10/13 09:30:38
Done.
|
| + } |
| } else { |
| itemAmount.setCurrency("USD"); |
| } |