Index: chrome/test/webdriver/webdriver_util.cc |
diff --git a/chrome/test/webdriver/webdriver_util.cc b/chrome/test/webdriver/webdriver_util.cc |
index 200ecc053cb1db49bf33ca22e3e34c08c482023c..66754a84965658a338de3547ed8bfb646d214d38 100644 |
--- a/chrome/test/webdriver/webdriver_util.cc |
+++ b/chrome/test/webdriver/webdriver_util.cc |
@@ -392,7 +392,7 @@ bool UnzipSoleFile(const FilePath& unzip_dir, |
std::string JsonStringify(const Value* value) { |
std::string json; |
- base::JSONWriter::Write(value, false, &json); |
+ base::JSONWriter::Write(value, &json); |
return json; |
} |
@@ -456,7 +456,9 @@ std::string JsonStringifyForDisplay(const Value* value) { |
TruncateContainedStrings(copy.get()); |
} |
std::string json; |
- base::JSONWriter::Write(copy.get(), true /* pretty_print */, &json); |
+ base::JSONWriter::WriteWithOptions(copy.get(), |
+ base::JSONWriter::OPTIONS_PRETTY_PRINT, |
+ &json); |
return json; |
} |