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

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

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/latency_info.cc ('k') | ui/events/ozone/device/device_manager.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.h
diff --git a/ui/events/ozone/device/device_manager.h b/ui/events/ozone/device/device_manager.h
index 0551e7ecf8bb783acc7201fa64140ce608dcf407..04512d8758aa4040f6418b5b5a6839128ac20434 100644
--- a/ui/events/ozone/device/device_manager.h
+++ b/ui/events/ozone/device/device_manager.h
@@ -5,7 +5,8 @@
#ifndef UI_EVENTS_OZONE_DEVICE_DEVICE_MANAGER_H_
#define UI_EVENTS_OZONE_DEVICE_DEVICE_MANAGER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/events/ozone/events_ozone_export.h"
namespace ui {
@@ -29,7 +30,7 @@ class EVENTS_OZONE_EXPORT DeviceManager {
virtual void RemoveObserver(DeviceEventObserver* observer) = 0;
};
-EVENTS_OZONE_EXPORT scoped_ptr<DeviceManager> CreateDeviceManager();
+EVENTS_OZONE_EXPORT std::unique_ptr<DeviceManager> CreateDeviceManager();
} // namespace ui
« no previous file with comments | « ui/events/latency_info.cc ('k') | ui/events/ozone/device/device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698