Index: ui/events/event_utils.h |
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h |
index 4a8e1637eda65eab5a70e4f07ff10ccdd88c2032..f3e11602d1fc605656c9c1b4d3009cdfcad0812e 100644 |
--- a/ui/events/event_utils.h |
+++ b/ui/events/event_utils.h |
@@ -7,8 +7,9 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/event_types.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "build/build_config.h" |
#include "ui/events/event.h" |
@@ -43,7 +44,7 @@ EVENTS_EXPORT void UpdateDeviceList(); |
// Returns a ui::Event wrapping a native event. Ownership of the returned value |
// is transferred to the caller. |
-EVENTS_EXPORT scoped_ptr<Event> EventFromNative( |
+EVENTS_EXPORT std::unique_ptr<Event> EventFromNative( |
const base::NativeEvent& native_event); |
// Get the EventType from a native event. |