| Index: content/renderer/device_sensors/device_light_event_pump.h
|
| diff --git a/content/renderer/device_sensors/device_light_event_pump.h b/content/renderer/device_sensors/device_light_event_pump.h
|
| index 3561484550ca5a523f1bb8b7794cd30c42916cef..3091efb66bd1c7a1cd07faa610c3c96392009b83 100644
|
| --- a/content/renderer/device_sensors/device_light_event_pump.h
|
| +++ b/content/renderer/device_sensors/device_light_event_pump.h
|
| @@ -5,8 +5,9 @@
|
| #ifndef CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_LIGHT_EVENT_PUMP_H_
|
| #define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_LIGHT_EVENT_PUMP_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "content/common/device_sensors/device_light_data.h"
|
| #include "content/renderer/device_sensors/device_sensor_event_pump.h"
|
| #include "content/renderer/shared_memory_seqlock_reader.h"
|
| @@ -46,7 +47,7 @@ class CONTENT_EXPORT DeviceLightEventPump
|
| private:
|
| bool ShouldFireEvent(double data) const;
|
|
|
| - scoped_ptr<DeviceLightSharedMemoryReader> reader_;
|
| + std::unique_ptr<DeviceLightSharedMemoryReader> reader_;
|
| double last_seen_data_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DeviceLightEventPump);
|
|
|