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

Unified Diff: components/autofill/content/browser/wallet/wallet_client_unittest.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/content/browser/wallet/wallet_client_unittest.cc
diff --git a/components/autofill/content/browser/wallet/wallet_client_unittest.cc b/components/autofill/content/browser/wallet/wallet_client_unittest.cc
index 230776f6c76eba2dd790621a2b0e013623f8cf52..a57bbf517dbf47e530201ac4052ccd0261c505f5 100644
--- a/components/autofill/content/browser/wallet/wallet_client_unittest.cc
+++ b/components/autofill/content/browser/wallet/wallet_client_unittest.cc
@@ -876,7 +876,7 @@ class WalletClientTest : public testing::Test {
static_cast<base::DictionaryValue*>(root.get());
dict->Remove("api_key", NULL);
std::string clean_upload_data;
- base::JSONWriter::Write(dict, &clean_upload_data);
+ base::JSONWriter::Write(*dict, &clean_upload_data);
return clean_upload_data;
}

Powered by Google App Engine
This is Rietveld 408576698