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

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: . 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 77efe5f7be3146808ce3799ca478c8b893925a1c..3a20d99ac427fd4c42586233640aeb9ab2bf87bd 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -215,9 +215,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