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

Unified Diff: ui/events/devices/x11/device_data_manager_x11.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
« no previous file with comments | « ui/events/devices/x11/device_data_manager_x11.h ('k') | ui/events/devices/x11/device_list_cache_x11.h » ('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 b0bd0e4b555b9be50f163fda8c074d0c8d342219..dedafac8c15df910495c9134426d49ad0c8d1cbe 100644
--- a/ui/events/devices/x11/device_data_manager_x11.cc
+++ b/ui/events/devices/x11/device_data_manager_x11.cc
@@ -802,7 +802,7 @@ double DeviceDataManagerX11::ExtractAndUpdateScrollOffset(
}
void DeviceDataManagerX11::SetDisabledKeyboardAllowedKeys(
- scoped_ptr<std::set<KeyboardCode> > excepted_keys) {
+ std::unique_ptr<std::set<KeyboardCode>> excepted_keys) {
DCHECK(!excepted_keys.get() ||
!blocked_keyboard_allowed_keys_.get());
blocked_keyboard_allowed_keys_ = std::move(excepted_keys);
« no previous file with comments | « ui/events/devices/x11/device_data_manager_x11.h ('k') | ui/events/devices/x11/device_list_cache_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698