| Index: content/browser/device_sensors/ambient_light_mac.cc
|
| diff --git a/content/browser/device_sensors/ambient_light_mac.cc b/content/browser/device_sensors/ambient_light_mac.cc
|
| index 187f6a0697d21c93312b079c5448a832f91ff085..6f8d3d99d4c8c730f992b2ca99baade76b4b3dd7 100644
|
| --- a/content/browser/device_sensors/ambient_light_mac.cc
|
| +++ b/content/browser/device_sensors/ambient_light_mac.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include "content/browser/device_sensors/ambient_light_mac.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/mac/scoped_cftyperef.h"
|
| #include "base/mac/scoped_ioobject.h"
|
|
|
| @@ -23,7 +25,7 @@ enum LmuFunctionIndex {
|
| // static
|
| scoped_ptr<AmbientLightSensor> AmbientLightSensor::Create() {
|
| scoped_ptr<AmbientLightSensor> light_sensor(new AmbientLightSensor);
|
| - return light_sensor->Init() ? light_sensor.Pass() : nullptr;
|
| + return light_sensor->Init() ? std::move(light_sensor) : nullptr;
|
| }
|
|
|
| AmbientLightSensor::~AmbientLightSensor() {
|
|
|