| Index: device/generic_sensor/platform_sensor_ambient_light_mac.cc
|
| diff --git a/device/generic_sensor/platform_sensor_ambient_light_mac.cc b/device/generic_sensor/platform_sensor_ambient_light_mac.cc
|
| index 363b97e443c01f2f4ee4551d33a79b5685c3b54c..8a72acf7d6d6108614916bc20c3fc7be626f956e 100644
|
| --- a/device/generic_sensor/platform_sensor_ambient_light_mac.cc
|
| +++ b/device/generic_sensor/platform_sensor_ambient_light_mac.cc
|
| @@ -47,14 +47,13 @@ enum LmuFunctionIndex {
|
| };
|
|
|
| PlatformSensorAmbientLightMac::PlatformSensorAmbientLightMac(
|
| - mojom::SensorType type,
|
| mojo::ScopedSharedBufferMapping mapping,
|
| PlatformSensorProvider* provider)
|
| - : PlatformSensor(type, std::move(mapping), provider),
|
| + : PlatformSensor(mojom::SensorType::AMBIENT_LIGHT,
|
| + std::move(mapping),
|
| + provider),
|
| light_sensor_port_(nullptr),
|
| - current_lux_(0.0) {
|
| - DCHECK_EQ(type, mojom::SensorType::AMBIENT_LIGHT);
|
| -}
|
| + current_lux_(0.0) {}
|
|
|
| PlatformSensorAmbientLightMac::~PlatformSensorAmbientLightMac() = default;
|
|
|
|
|