| Index: content/renderer/device_sensors/device_motion_event_pump_unittest.cc
|
| diff --git a/content/renderer/device_sensors/device_motion_event_pump_unittest.cc b/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
|
| index 5cb15e8e21241d1a14c05064e8a81a6b3f1f55d2..1160478b751486647c797a88652063eb116863cc 100644
|
| --- a/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
|
| +++ b/content/renderer/device_sensors/device_motion_event_pump_unittest.cc
|
| @@ -2,14 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "device_motion_event_pump.h"
|
| +#include "content/renderer/device_sensors/device_motion_event_pump.h"
|
|
|
| #include <string.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "content/common/device_sensors/device_motion_hardware_buffer.h"
|
| @@ -119,8 +120,8 @@ class DeviceMotionEventPumpTest : public testing::Test {
|
| base::SharedMemoryHandle handle() { return handle_; }
|
|
|
| private:
|
| - scoped_ptr<MockDeviceMotionListener> listener_;
|
| - scoped_ptr<DeviceMotionEventPumpForTesting> motion_pump_;
|
| + std::unique_ptr<MockDeviceMotionListener> listener_;
|
| + std::unique_ptr<DeviceMotionEventPumpForTesting> motion_pump_;
|
| base::SharedMemoryHandle handle_;
|
| base::SharedMemory shared_memory_;
|
| DeviceMotionHardwareBuffer* buffer_;
|
|
|