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

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

Issue 1553263002: Remove Pass on CrOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix //components/exo too Created 4 years, 11 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.cc
diff --git a/ui/events/ozone/evdev/input_device_factory_evdev.cc b/ui/events/ozone/evdev/input_device_factory_evdev.cc
index 728d7e898f2d60342c5db4b1a00a43d1f73ad28d..16ccab2a0a32275ecd18d997c3c39e05c736de53 100644
--- a/ui/events/ozone/evdev/input_device_factory_evdev.cc
+++ b/ui/events/ozone/evdev/input_device_factory_evdev.cc
@@ -95,7 +95,7 @@ scoped_ptr<EventConverterEvdev> CreateConverter(
params.id, params.cursor, params.gesture_property_provider,
params.dispatcher));
return make_scoped_ptr(new EventReaderLibevdevCros(
- fd, params.path, params.id, devinfo, gesture_interp.Pass()));
+ fd, params.path, params.id, devinfo, std::move(gesture_interp)));
}
#endif
@@ -303,7 +303,7 @@ void InputDeviceFactoryEvdev::GetTouchEventLog(
new std::vector<base::FilePath>);
#if defined(USE_EVDEV_GESTURES)
DumpTouchEventLog(converters_, gesture_property_provider_.get(), out_dir,
- log_paths.Pass(), reply);
+ std::move(log_paths), reply);
#else
reply.Run(std::move(log_paths));
#endif

Powered by Google App Engine
This is Rietveld 408576698