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..b74b548acb68f523ee0b52c5a7336c55022679ae 100644 |
| --- a/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp |
| +++ b/third_party/WebKit/Source/modules/payments/PaymentTestHelper.cpp |
| @@ -28,6 +28,10 @@ void setValues(PaymentItemOrPaymentShippingOption& original, |
| } else { |
| itemAmount.setCurrency("USD"); |
| } |
| + |
| + if (data == PaymentTestDataCurrencySystem) |
| + itemAmount.setCurrencySystem("http://www.example.com"); |
|
please use gerrit instead
2016/10/13 17:37:54
// Currency system is "urn:iso:std:iso:4217" by de
pals
2016/10/14 14:41:21
Done.
|
| + |
| if (data == PaymentTestDataValue) { |
| if (modificationType == PaymentTestOverwriteValue) |
| itemAmount.setValue(valueToUse); |