Index: components/payments/android/currency_formatter_android.cc |
diff --git a/components/payments/android/currency_formatter_android.cc b/components/payments/android/currency_formatter_android.cc |
index 00143f3214e59766fa6e2880b76ff4387f11111e..e1ea023e21036e4575386068497b790a0e7b57b2 100644 |
--- a/components/payments/android/currency_formatter_android.cc |
+++ b/components/payments/android/currency_formatter_android.cc |
@@ -25,10 +25,7 @@ CurrencyFormatterAndroid::CurrencyFormatterAndroid( |
ConvertJavaStringToUTF8(env, currency_system); |
currency_formatter_.reset(new CurrencyFormatter( |
- ConvertJavaStringToUTF8(env, currency_code), |
- currency_system_str.empty() |
- ? base::Optional<std::string>() |
- : base::Optional<std::string>(currency_system_str), |
+ ConvertJavaStringToUTF8(env, currency_code), currency_system_str, |
ConvertJavaStringToUTF8(env, locale_name))); |
} |