Index: third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp b/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp |
index b2906e54d49b36ae72a9bde4966f9d6ac9be9b36..6cfe9e1ca5951642c3a74427ece99cdcdf3d5303 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp |
@@ -17,9 +17,9 @@ void setValues(PaymentItemOrShippingOption& original, PaymentTestDataToChange da |
CurrencyAmount itemAmount; |
if (data == PaymentTestDataCurrencyCode) { |
if (modificationType == PaymentTestOverwriteValue) |
- itemAmount.setCurrencyCode(valueToUse); |
+ itemAmount.setCurrency(valueToUse); |
} else { |
- itemAmount.setCurrencyCode("USD"); |
+ itemAmount.setCurrency("USD"); |
} |
if (data == PaymentTestDataValue) { |
if (modificationType == PaymentTestOverwriteValue) |