Index: sync/syncable/entry.cc |
diff --git a/sync/syncable/entry.cc b/sync/syncable/entry.cc |
index 3891c55402444383091bf5e4c0946e0c725ee584..852c33e32edee914422dfbf8c4d1d6c5e138df13 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) { |