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

Unified Diff: content/renderer/service_worker/service_worker_type_converters.cc

Issue 2839813005: PaymentHandler: Fix a typo (camelCase to hacker_case). (Closed)
Patch Set: PaymentHandler: Fix a typo (camelCase to hacker_case). Created 3 years, 8 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 | « content/browser/payments/payment_app_provider_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/service_worker/service_worker_type_converters.cc
diff --git a/content/renderer/service_worker/service_worker_type_converters.cc b/content/renderer/service_worker/service_worker_type_converters.cc
index fa2a709edaf14b83e7bfeaa691e9f6fdbd02c9a1..5f05beeafcce0dc174e4a7ec519093d217cf74be 100644
--- a/content/renderer/service_worker/service_worker_type_converters.cc
+++ b/content/renderer/service_worker/service_worker_type_converters.cc
@@ -38,10 +38,10 @@ TypeConverter<blink::WebPaymentAppRequest,
output.origin = blink::WebString::FromUTF8(input->origin.spec());
output.method_data =
- blink::WebVector<blink::WebPaymentMethodData>(input->methodData.size());
- for (size_t i = 0; i < input->methodData.size(); i++) {
+ blink::WebVector<blink::WebPaymentMethodData>(input->method_data.size());
+ for (size_t i = 0; i < input->method_data.size(); i++) {
output.method_data[i] = mojo::ConvertTo<blink::WebPaymentMethodData>(
- std::move(input->methodData[i]));
+ std::move(input->method_data[i]));
}
output.total = mojo::ConvertTo<blink::WebPaymentItem>(input->total);
@@ -53,7 +53,7 @@ TypeConverter<blink::WebPaymentAppRequest,
mojo::ConvertTo<blink::WebPaymentDetailsModifier>(input->modifiers[i]);
}
- output.option_id = blink::WebString::FromUTF8(input->optionId);
+ output.option_id = blink::WebString::FromUTF8(input->option_id);
return output;
}
« no previous file with comments | « content/browser/payments/payment_app_provider_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698