diff options
author | ericdingle@chromium.org <ericdingle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 01:59:55 +0000 |
---|---|---|
committer | ericdingle@chromium.org <ericdingle@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 01:59:55 +0000 |
commit | 4abb460a3df397934469f342ccf49191092597d3 (patch) | |
tree | bfdb8087aaaaf3207cd2c2ca98c8877dafd1db5c /ipc | |
parent | f76bc0fba725dbade1f6d89b4c6564e62498933b (diff) | |
download | chromium_src-4abb460a3df397934469f342ccf49191092597d3.zip chromium_src-4abb460a3df397934469f342ccf49191092597d3.tar.gz chromium_src-4abb460a3df397934469f342ccf49191092597d3.tar.bz2 |
JSONWriter cleanup: integrate pretty print into write options.
BUG=
TEST=base_unittests
TBR=abodenha@chromium.org,ajwong@chromium.org,chocobo@chromium.org,mnissler@chromium.org,akalin@chromium.org,brettw@chromium.org,arv@chromium.org
Review URL: http://codereview.chromium.org/9590002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_utils.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc index 72437a9..8f27c52 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); } |