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

Unified Diff: ipc/ipc_message_utils.cc

Issue 9590002: JSONWriter cleanup: integrate pretty print into write options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict 7. Created 8 years, 9 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 | « gpu/tools/compositor_model_bench/render_tree.cc ('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 72437a941fcd111e81986628e95aefd89fb6327e..8f27c52c3f0c05220976504028952672362dcd66 100644
--- a/ipc/ipc_message_utils.cc
+++ b/ipc/ipc_message_utils.cc
@@ -321,7 +321,7 @@ bool ParamTraits<DictionaryValue>::Read(
void ParamTraits<DictionaryValue>::Log(const param_type& p, std::string* l) {
std::string json;
- base::JSONWriter::Write(&p, false, &json);
+ base::JSONWriter::Write(&p, &json);
l->append(json);
}
@@ -340,7 +340,7 @@ bool ParamTraits<ListValue>::Read(
void ParamTraits<ListValue>::Log(const param_type& p, std::string* l) {
std::string json;
- base::JSONWriter::Write(&p, false, &json);
+ base::JSONWriter::Write(&p, &json);
l->append(json);
}
« no previous file with comments | « gpu/tools/compositor_model_bench/render_tree.cc ('k') | jingle/glue/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698