summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 12:52:09 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-21 12:52:09 +0000
commit70e121a932a674d3d4a98561342037ee148ec229 (patch)
tree9d48e73af6cc67abf93df85a6d3ea04865aa442f /webkit/glue
parentf0cd068a8b2a90e792a044b66cd757ff61eaf44e (diff)
downloadchromium_src-70e121a932a674d3d4a98561342037ee148ec229.zip
chromium_src-70e121a932a674d3d4a98561342037ee148ec229.tar.gz
chromium_src-70e121a932a674d3d4a98561342037ee148ec229.tar.bz2
DevTools: Temporarily use JSON with escaping to handle non-latin data.
Review URL: http://codereview.chromium.org/115632 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/devtools/devtools_rpc.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/glue/devtools/devtools_rpc.cc b/webkit/glue/devtools/devtools_rpc.cc
index b94cb3c..458fcb4 100644
--- a/webkit/glue/devtools/devtools_rpc.cc
+++ b/webkit/glue/devtools/devtools_rpc.cc
@@ -32,7 +32,9 @@ Value* DevToolsRpc::ParseMessage(const std::string& raw_msg) {
// static
std::string DevToolsRpc::Serialize(const Value& value) {
std::string json;
- JSONWriter::WriteWithOptionalEscape(&value, false, false, &json);
+ // TODO(pfeldman): find out why faster way in no longer working.
+ // JSONWriter::WriteWithOptionalEscape(&value, false, false, &json);
+ JSONWriter::Write(&value, false, &json);
return json;
}