| Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| index ec17e2590d68417016122e1c7c43ab543c12cda2..7e33a2919366e6c891a10dea313fbe32c3e11a37 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp
|
| @@ -201,8 +201,9 @@ void validateShippingOptionOrPaymentItem(const T& item,
|
| }
|
|
|
| String errorMessage;
|
| - if (!PaymentsValidators::isValidCurrencyCodeFormat(item.amount().currency(),
|
| - &errorMessage)) {
|
| + if (!PaymentsValidators::isValidCurrencyCodeFormat(
|
| + item.amount().currency(), item.amount().currencySystem(),
|
| + &errorMessage)) {
|
| exceptionState.throwTypeError(errorMessage);
|
| return;
|
| }
|
|
|