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

Unified Diff: ui/events/ozone/device/device_manager.cc

Issue 922923002: ui: Cleanup the usage of scoped_ptr throughout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 10 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/event.cc ('k') | ui/events/platform/x11/x11_event_source_glib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/device/device_manager.cc
diff --git a/ui/events/ozone/device/device_manager.cc b/ui/events/ozone/device/device_manager.cc
index bbd5d800fa52881c105e81a2b085f277978d7ed6..a52123f95379c614fecd22f0e2190e2c213ef683 100644
--- a/ui/events/ozone/device/device_manager.cc
+++ b/ui/events/ozone/device/device_manager.cc
@@ -14,9 +14,9 @@ namespace ui {
scoped_ptr<DeviceManager> CreateDeviceManager() {
#if defined(USE_UDEV)
- return scoped_ptr<DeviceManager>(new DeviceManagerUdev());
+ return make_scoped_ptr(new DeviceManagerUdev());
#else
- return scoped_ptr<DeviceManager>(new DeviceManagerManual());
+ return make_scoped_ptr(new DeviceManagerManual());
#endif
}
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/platform/x11/x11_event_source_glib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698