summaryrefslogtreecommitdiffstats
path: root/base/metrics
diff options
context:
space:
mode:
authorantrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-11 11:52:22 +0000
committerantrim@chromium.org <antrim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-11 11:52:22 +0000
commit11b366da9588a954343196434e00822aa3cf9b93 (patch)
tree0c8d3d6b521be4308c4f979ad19e1526ca65bc8e /base/metrics
parent3fa8fe590f29d504ce1284d5b4814c64861b4ab7 (diff)
downloadchromium_src-11b366da9588a954343196434e00822aa3cf9b93.zip
chromium_src-11b366da9588a954343196434e00822aa3cf9b93.tar.gz
chromium_src-11b366da9588a954343196434e00822aa3cf9b93.tar.bz2
Revert of https://codereview.chromium.org/100823007/
Reason for revert: This patchset breaks at least displayment of Russian localized strings on Chromeos login screen. TBR=mark@chromium.org,jshin@chromium.org,thakis@chromium.org,asanka@chromium.org,zea@chromium.org,bauerb@chromium.org,rsesek@chromium.org NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/106793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics')
-rw-r--r--base/metrics/statistics_recorder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/metrics/statistics_recorder.cc b/base/metrics/statistics_recorder.cc
index 62617c5..2753c0b2 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\":";
- EscapeJSONString(query, true, &output);
+ JsonDoubleQuote(query, true, &output);
output += ",";
}