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

Unified Diff: content/shell/renderer/layout_test/leak_detector.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
Index: content/shell/renderer/layout_test/leak_detector.cc
diff --git a/content/shell/renderer/layout_test/leak_detector.cc b/content/shell/renderer/layout_test/leak_detector.cc
index a00fdbaee4c2003d9f09b09229bff9eb6b9eed64..41645bb5ac6d158f26e98b0d156bd631dd22044e 100644
--- a/content/shell/renderer/layout_test/leak_detector.cc
+++ b/content/shell/renderer/layout_test/leak_detector.cc
@@ -85,7 +85,7 @@ void LeakDetector::onLeakDetectionComplete(
if (!detail.empty()) {
std::string detail_str;
- base::JSONWriter::Write(&detail, &detail_str);
+ base::JSONWriter::Write(detail, &detail_str);
report.detail = detail_str;
report.leaked = true;
}
« no previous file with comments | « content/shell/browser/shell_devtools_frontend.cc ('k') | content/shell/renderer/test_runner/test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698