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

Unified Diff: ui/events/latency_info.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 | « ui/compositor/layer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/latency_info.cc
diff --git a/ui/events/latency_info.cc b/ui/events/latency_info.cc
index 69610cf7ef59543c1872586457bda7de7c26768e..d815790649ad53dc6bfe46ea36ec5d6180324ab1 100644
--- a/ui/events/latency_info.cc
+++ b/ui/events/latency_info.cc
@@ -108,7 +108,7 @@ LatencyInfoTracedValue::~LatencyInfoTracedValue() {
void LatencyInfoTracedValue::AppendAsTraceFormat(std::string* out) const {
std::string tmp;
- base::JSONWriter::Write(value_.get(), &tmp);
+ base::JSONWriter::Write(*value_, &tmp);
*out += tmp;
}
« no previous file with comments | « ui/compositor/layer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698