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

Unified Diff: jingle/glue/utils.cc

Issue 1131113004: Convert JsonWriter::Write to taking a const ref for the in-param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase Created 5 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 | « ipc/ipc_message_utils.cc ('k') | media/base/media_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/utils.cc
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc
index 4d35650e6ec206cdab0b119a28ca430651888d1e..4c9f4b681029ab9c8cc4df2bd18e834335eb3107 100644
--- a/jingle/glue/utils.cc
+++ b/jingle/glue/utils.cc
@@ -46,7 +46,7 @@ std::string SerializeP2PCandidate(const cricket::Candidate& candidate) {
value.SetInteger("generation", candidate.generation());
std::string result;
- base::JSONWriter::Write(&value, &result);
+ base::JSONWriter::Write(value, &result);
return result;
}
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | media/base/media_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698