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

Unified Diff: ui/events/ozone/evdev/input_injector_evdev.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/input_injector_evdev.h
diff --git a/ui/events/ozone/evdev/input_injector_evdev.h b/ui/events/ozone/evdev/input_injector_evdev.h
index 2b6d51ad9fe45648fe240a459625d2f2205a14b0..651b0a40822ff22fdb15d0b86a0f267d6bb46e16 100644
--- a/ui/events/ozone/evdev/input_injector_evdev.h
+++ b/ui/events/ozone/evdev/input_injector_evdev.h
@@ -19,7 +19,7 @@ class DeviceEventDispatcherEvdev;
class EVENTS_OZONE_EVDEV_EXPORT InputInjectorEvdev
: public SystemInputInjector {
public:
- InputInjectorEvdev(scoped_ptr<DeviceEventDispatcherEvdev> dispatcher,
+ InputInjectorEvdev(std::unique_ptr<DeviceEventDispatcherEvdev> dispatcher,
CursorDelegateEvdev* cursor);
~InputInjectorEvdev() override;
@@ -37,7 +37,7 @@ class EVENTS_OZONE_EVDEV_EXPORT InputInjectorEvdev
CursorDelegateEvdev* cursor_;
// Interface for dispatching events.
- scoped_ptr<DeviceEventDispatcherEvdev> dispatcher_;
+ std::unique_ptr<DeviceEventDispatcherEvdev> dispatcher_;
DISALLOW_COPY_AND_ASSIGN(InputInjectorEvdev);
};
« no previous file with comments | « ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc ('k') | ui/events/ozone/evdev/input_injector_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698