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

Unified Diff: ui/events/ozone/evdev/touch_evdev_debug_buffer.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
Index: ui/events/ozone/evdev/touch_evdev_debug_buffer.h
diff --git a/ui/events/ozone/evdev/touch_evdev_debug_buffer.h b/ui/events/ozone/evdev/touch_evdev_debug_buffer.h
index 4d77faeb74d7d6f976b4cb5bec435d56f00cd8f4..ccd3a499a38e88a6f658866806c8d9d9d2e93c97 100644
--- a/ui/events/ozone/evdev/touch_evdev_debug_buffer.h
+++ b/ui/events/ozone/evdev/touch_evdev_debug_buffer.h
@@ -8,10 +8,10 @@
#include <linux/input.h>
#include <stddef.h>
+#include <memory>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
#include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
namespace ui {
@@ -34,7 +34,7 @@ class EVENTS_OZONE_EVDEV_EXPORT TouchEventLogEvdev {
int slot;
};
const int kDebugBufferSize = 65536;
- scoped_ptr<TouchEvent[]> logged_events_;
+ std::unique_ptr<TouchEvent[]> logged_events_;
int debug_buffer_tail_ = 0;
std::string device_name_;
« no previous file with comments | « ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc ('k') | ui/events/ozone/evdev/touch_event_converter_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698