| Index: device/hid/device_monitor_linux.cc
|
| diff --git a/device/hid/device_monitor_linux.cc b/device/hid/device_monitor_linux.cc
|
| index da78ca5be60e8dea1bbef4f7946402be64b2642b..9c900228fd6c45da961f88dab99b45393bdb750e 100644
|
| --- a/device/hid/device_monitor_linux.cc
|
| +++ b/device/hid/device_monitor_linux.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "device/hid/device_monitor_linux.h"
|
|
|
| +#include <memory>
|
| +
|
| #include "base/lazy_instance.h"
|
| #include "base/logging.h"
|
| #include "base/threading/thread_restrictions.h"
|
| @@ -18,7 +20,7 @@ const char kUdevActionAdd[] = "add";
|
| const char kUdevActionRemove[] = "remove";
|
|
|
| // The instance will be reset when message loop destroys.
|
| -base::LazyInstance<scoped_ptr<DeviceMonitorLinux> >::Leaky
|
| +base::LazyInstance<std::unique_ptr<DeviceMonitorLinux>>::Leaky
|
| g_device_monitor_linux_ptr = LAZY_INSTANCE_INITIALIZER;
|
|
|
| } // namespace
|
|
|