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

Unified Diff: ipc/ipc_message_utils.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
« no previous file with comments | « ios/web/webui/web_ui_ios_impl.mm ('k') | jingle/glue/utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message_utils.cc
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
index adb14d1d56c5ef64cbf56e93553989cbe614ee9d..a00e857e798bffc64850c02af2c2bfa3de7e54c0 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -451,7 +451,7 @@ bool ParamTraits<base::DictionaryValue>::Read(
void ParamTraits<base::DictionaryValue>::Log(const param_type& p,
std::string* l) {
std::string json;
- base::JSONWriter::Write(&p, &json);
+ base::JSONWriter::Write(p, &json);
l->append(json);
}
@@ -533,7 +533,7 @@ bool ParamTraits<base::ListValue>::Read(
void ParamTraits<base::ListValue>::Log(const param_type& p, std::string* l) {
std::string json;
- base::JSONWriter::Write(&p, &json);
+ base::JSONWriter::Write(p, &json);
l->append(json);
}
« no previous file with comments | « ios/web/webui/web_ui_ios_impl.mm ('k') | jingle/glue/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698