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

Unified Diff: chrome/test/chromedriver/chrome/log.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 | « chrome/test/chromedriver/chrome/frame_tracker.cc ('k') | chrome/test/chromedriver/chrome/util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome/log.cc
diff --git a/chrome/test/chromedriver/chrome/log.cc b/chrome/test/chromedriver/chrome/log.cc
index a40f9b2d786ff954ec6914bb50ccc36264155624..ed1190a1ca3f93970cc4708040f516ab2683dd45 100644
--- a/chrome/test/chromedriver/chrome/log.cc
+++ b/chrome/test/chromedriver/chrome/log.cc
@@ -85,7 +85,7 @@ bool IsVLogOn(int vlog_level) {
std::string PrettyPrintValue(const base::Value& value) {
std::string json;
base::JSONWriter::WriteWithOptions(
- &value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json);
+ value, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json);
#if defined(OS_WIN)
base::RemoveChars(json, "\r", &json);
#endif
« no previous file with comments | « chrome/test/chromedriver/chrome/frame_tracker.cc ('k') | chrome/test/chromedriver/chrome/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698