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

Unified Diff: components/payments/payment_request.cc

Issue 2649143003: PaymentRequest: The currencySystem should be non-nullable. (Closed)
Patch Set: PaymentRequest: The currencySystem should be non-nullable. Created 3 years, 11 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
« no previous file with comments | « components/payments/payment_request.h ('k') | components/payments/payment_request.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/payment_request.cc
diff --git a/components/payments/payment_request.cc b/components/payments/payment_request.cc
index 282b3fa38afad3d8ef83f6db57f9f05c532ca0ad..1d829b06908c6e15a0edf07f7a93be6458b9b6fb 100644
--- a/components/payments/payment_request.cc
+++ b/components/payments/payment_request.cc
@@ -65,7 +65,7 @@ void PaymentRequest::OnError() {
CurrencyFormatter* PaymentRequest::GetOrCreateCurrencyFormatter(
const std::string& currency_code,
- const base::Optional<std::string> currency_system,
+ const std::string& currency_system,
const std::string& locale_name) {
if (!currency_formatter_) {
currency_formatter_.reset(
« no previous file with comments | « components/payments/payment_request.h ('k') | components/payments/payment_request.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698