diff options
Diffstat (limited to 'sync/syncable/entry.cc')
-rw-r--r-- | sync/syncable/entry.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sync/syncable/entry.cc b/sync/syncable/entry.cc index 3891c55..852c33e 100644 --- a/sync/syncable/entry.cc +++ b/sync/syncable/entry.cc @@ -147,11 +147,9 @@ std::ostream& operator<<(std::ostream& os, const Entry& entry) { os << g_metas_columns[i].name << ": " << field << ", "; } for ( ; i < PROTO_FIELDS_END; ++i) { - std::string escaped_str; - base::JsonDoubleQuote( + std::string escaped_str = base::EscapeBytesAsInvalidJSONString( kernel->ref(static_cast<ProtoField>(i)).SerializeAsString(), - false, - &escaped_str); + false); os << g_metas_columns[i].name << ": " << escaped_str << ", "; } for ( ; i < UNIQUE_POSITION_FIELDS_END; ++i) { |