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

Unified Diff: ui/events/devices/x11/device_data_manager_x11.cc

Issue 1539583003: Convert Pass()→std::move() in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/compositor/test/in_process_context_factory.cc ('k') | ui/events/event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/x11/device_data_manager_x11.cc
diff --git a/ui/events/devices/x11/device_data_manager_x11.cc b/ui/events/devices/x11/device_data_manager_x11.cc
index e02162049645fa807b1c05ebaa16b49cdcd6df77..9ae6bcc2ca08250b7b73619e586e085efda38c60 100644
--- a/ui/events/devices/x11/device_data_manager_x11.cc
+++ b/ui/events/devices/x11/device_data_manager_x11.cc
@@ -712,7 +712,7 @@ void DeviceDataManagerX11::SetDisabledKeyboardAllowedKeys(
scoped_ptr<std::set<KeyboardCode> > excepted_keys) {
DCHECK(!excepted_keys.get() ||
!blocked_keyboard_allowed_keys_.get());
- blocked_keyboard_allowed_keys_ = excepted_keys.Pass();
+ blocked_keyboard_allowed_keys_ = std::move(excepted_keys);
}
void DeviceDataManagerX11::DisableDevice(int deviceid) {
« no previous file with comments | « ui/compositor/test/in_process_context_factory.cc ('k') | ui/events/event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698