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

Unified Diff: ui/events/latency_info.h

Issue 1717283003: tracing: Make ConvertableToTraceFormat move-only scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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: ui/events/latency_info.h
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
index 31a105584612e80816121ab820dfb661820d309e..60e255fec795c509a5fc1949a16f90996238075c 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -216,9 +216,9 @@ class EVENTS_BASE_EXPORT LatencyInfo {
const char* trace_name_str);
// Converts latencyinfo into format that can be dumped into trace buffer.
- scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData();
- scoped_refptr<base::trace_event::ConvertableToTraceFormat>
- CoordinatesAsTraceableData();
+ scoped_ptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData();
+ scoped_ptr<base::trace_event::ConvertableToTraceFormat>
+ CoordinatesAsTraceableData();
// Shown as part of the name of the trace event for this LatencyInfo.
// String is empty if no tracing is enabled.

Powered by Google App Engine
This is Rietveld 408576698