| Index: content/browser/device_sensors/ambient_light_mac.h
|
| diff --git a/content/browser/device_sensors/ambient_light_mac.h b/content/browser/device_sensors/ambient_light_mac.h
|
| index 36eff8b76f1437cb4a42d700f4d7acc1294c25e2..6d4af75ce80c20c828a86d0708ec7799cb3a09b2 100644
|
| --- a/content/browser/device_sensors/ambient_light_mac.h
|
| +++ b/content/browser/device_sensors/ambient_light_mac.h
|
| @@ -8,8 +8,9 @@
|
| #include <IOKit/IOKitLib.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
|
|
| namespace content {
|
|
|
| @@ -17,7 +18,7 @@ namespace content {
|
| class AmbientLightSensor {
|
| public:
|
| // Create AmbientLightSensor object, return NULL if no valid is sensor found.
|
| - static scoped_ptr<AmbientLightSensor> Create();
|
| + static std::unique_ptr<AmbientLightSensor> Create();
|
|
|
| ~AmbientLightSensor();
|
|
|
|
|