Chromium Code Reviews| Index: components/payments/content/payment_details_validation.cc |
| diff --git a/components/payments/content/payment_details_validation.cc b/components/payments/content/payment_details_validation.cc |
| index c894459ba1f3aca5aaf487a05fd1e3712ce00f0c..875825841ac169d84b7e84627b75d0769d5555b0 100644 |
| --- a/components/payments/content/payment_details_validation.cc |
| +++ b/components/payments/content/payment_details_validation.cc |
| @@ -40,11 +40,6 @@ bool validateShippingOptionOrPaymentItem( |
| return false; |
| } |
| - if (total && item->amount->currency != total->amount->currency) { |
|
gogerald1
2017/05/02 18:57:33
This is cross platform code, might '#if !defined(O
wuandy
2017/05/05 15:04:37
Done.
|
| - *error_message = "Currencies must all be equal"; |
| - return false; |
| - } |
| - |
| if (item->amount->currency_system.empty()) { |
| *error_message = "Currency system can't be empty"; |
| return false; |