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

Unified Diff: sync/js/js_arg_list.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 | « sync/engine/nigori_util.cc ('k') | sync/js/js_event_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/js/js_arg_list.cc
diff --git a/sync/js/js_arg_list.cc b/sync/js/js_arg_list.cc
index d8ab8e2bb433f6c7837e05d8de70139cb99f6e7c..c95235a32ea7bf01ce4cbf9d2c77cd6e423767b7 100644
--- a/sync/js/js_arg_list.cc
+++ b/sync/js/js_arg_list.cc
@@ -20,7 +20,7 @@ const ListValue& JsArgList::Get() const {
std::string JsArgList::ToString() const {
std::string str;
- base::JSONWriter::Write(&Get(), false, &str);
+ base::JSONWriter::Write(&Get(), &str);
return str;
}
« no previous file with comments | « sync/engine/nigori_util.cc ('k') | sync/js/js_event_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698