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 bf26a120ac4021fd6f8eeb16573ed382e1799c7c..b47b604af8d2f9b477329317c3aaa714a6ab82d8 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; |
} |