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

Unified Diff: components/autofill/core/browser/wallet/real_pan_wallet_client.cc

Issue 1131113004: Convert JsonWriter::Write to taking a const ref for the in-param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase Created 5 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: components/autofill/core/browser/wallet/real_pan_wallet_client.cc
diff --git a/components/autofill/core/browser/wallet/real_pan_wallet_client.cc b/components/autofill/core/browser/wallet/real_pan_wallet_client.cc
index 9d41ab45e4bc0d66d0587f394d52526fe48f4064..ec7adb5c57f7353efb3e8c6e6b95b70386d0a851 100644
--- a/components/autofill/core/browser/wallet/real_pan_wallet_client.cc
+++ b/components/autofill/core/browser/wallet/real_pan_wallet_client.cc
@@ -244,7 +244,7 @@ void RealPanWalletClient::CreateRequest() {
request_dict.SetInteger("expiration_year", value);
std::string json_request;
- base::JSONWriter::Write(&request_dict, &json_request);
+ base::JSONWriter::Write(request_dict, &json_request);
std::string post_body =
base::StringPrintf(kUnmaskCardRequestFormat,
net::EscapeUrlEncodedData(json_request, true).c_str(),
« no previous file with comments | « components/autofill/content/browser/wallet/wallet_client_unittest.cc ('k') | components/autofill/core/common/password_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698