summaryrefslogtreecommitdiffstats
path: root/base/json_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/json_writer.cc')
-rw-r--r--base/json_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/json_writer.cc b/base/json_writer.cc
index 512e0a1..0a1b8bb 100644
--- a/base/json_writer.cc
+++ b/base/json_writer.cc
@@ -49,8 +49,8 @@ void JSONWriter::Write(const Value* const node, bool pretty_print,
}
JSONWriter::JSONWriter(bool pretty_print, std::string* json)
- : pretty_print_(pretty_print),
- json_string_(json) {
+ : json_string_(json),
+ pretty_print_(pretty_print) {
DCHECK(json);
}