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

Unified Diff: ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc

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_device_factory_evdev_proxy.cc
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc b/ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc
index 2ebf05782fab86233035f470307af1886dffb441..d141b2efa1b7b42a9b23e35628e781c3680215c1 100644
--- a/ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc
+++ b/ui/events/ozone/evdev/input_device_factory_evdev_proxy.cc
@@ -15,7 +15,7 @@ namespace {
void ForwardGetTouchDeviceStatusReply(
scoped_refptr<base::SingleThreadTaskRunner> reply_runner,
const GetTouchDeviceStatusReply& reply,
- scoped_ptr<std::string> status) {
+ std::unique_ptr<std::string> status) {
// Thread hop back to UI for reply.
reply_runner->PostTask(FROM_HERE, base::Bind(reply, base::Passed(&status)));
}
@@ -23,7 +23,7 @@ void ForwardGetTouchDeviceStatusReply(
void ForwardGetTouchEventLogReply(
scoped_refptr<base::SingleThreadTaskRunner> reply_runner,
const GetTouchEventLogReply& reply,
- scoped_ptr<std::vector<base::FilePath>> log_paths) {
+ std::unique_ptr<std::vector<base::FilePath>> log_paths) {
// Thread hop back to UI for reply.
reply_runner->PostTask(FROM_HERE,
base::Bind(reply, base::Passed(&log_paths)));
« no previous file with comments | « ui/events/ozone/evdev/input_device_factory_evdev_proxy.h ('k') | ui/events/ozone/evdev/input_injector_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698