Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: webkit/glue/devtools/devtools_rpc.cc

Issue 115397: DevTools: Introduce lightweight version of JSON serialization. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/json_writer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/devtools_rpc.cc
===================================================================
--- webkit/glue/devtools/devtools_rpc.cc (revision 16147)
+++ webkit/glue/devtools/devtools_rpc.cc (working copy)
@@ -32,7 +32,7 @@
// static
std::string DevToolsRpc::Serialize(const Value& value) {
std::string json;
- JSONWriter::Write(&value, false, &json);
+ JSONWriter::WriteWithOptionalEscape(&value, false, false, &json);
return json;
}
« no previous file with comments | « base/json_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698