Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1699)

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentDetailsTestHelper.cpp

Issue 1981903002: PaymentRequest: Rename 'currencyCode' to 'currency' in CurrencyAmount.idl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698