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

Unified Diff: ui/events/latency_info.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 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/events/gestures/motion_event_aura_unittest.cc ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/latency_info.h
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
index 0001c3150ef0086f624328f5448087ecdb46ab1f..22e1ab4ecfea3641a98a9d5c9a9c4f0f99035307 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -7,12 +7,12 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/containers/small_map.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "base/trace_event/trace_event.h"
#include "ui/events/events_base_export.h"
@@ -211,8 +211,9 @@ class EVENTS_BASE_EXPORT LatencyInfo {
const char* trace_name_str);
// Converts latencyinfo into format that can be dumped into trace buffer.
- scoped_ptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData();
- scoped_ptr<base::trace_event::ConvertableToTraceFormat>
+ std::unique_ptr<base::trace_event::ConvertableToTraceFormat>
+ AsTraceableData();
+ std::unique_ptr<base::trace_event::ConvertableToTraceFormat>
CoordinatesAsTraceableData();
// Shown as part of the name of the trace event for this LatencyInfo.
« no previous file with comments | « ui/events/gestures/motion_event_aura_unittest.cc ('k') | ui/events/latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698