Index: base/metrics/statistics_recorder.cc |
diff --git a/base/metrics/statistics_recorder.cc b/base/metrics/statistics_recorder.cc |
index 2753c0b2b6011d86fc7c14a1de70851364100a13..62617c5d804cbe20f7299b387e499fc96c1bcfc8 100644 |
--- a/base/metrics/statistics_recorder.cc |
+++ b/base/metrics/statistics_recorder.cc |
@@ -172,7 +172,7 @@ std::string StatisticsRecorder::ToJSON(const std::string& query) { |
std::string output("{"); |
if (!query.empty()) { |
output += "\"query\":"; |
- JsonDoubleQuote(query, true, &output); |
+ EscapeJSONString(query, true, &output); |
output += ","; |
} |