Index: device/generic_sensor/platform_sensor_ambient_light_mac.h |
diff --git a/device/generic_sensor/platform_sensor_ambient_light_mac.h b/device/generic_sensor/platform_sensor_ambient_light_mac.h |
index a056b8b29d9b88e7b761de3bc63c30dbe8cd848b..649b32ec3eadd4d6dbaa211630d20400487834ed 100644 |
--- a/device/generic_sensor/platform_sensor_ambient_light_mac.h |
+++ b/device/generic_sensor/platform_sensor_ambient_light_mac.h |
@@ -19,11 +19,9 @@ namespace device { |
// instance is not created. |
class PlatformSensorAmbientLightMac : public PlatformSensor { |
public: |
- // Construct a platform sensor of |type| AMBIENT_LIGHT, given |
- // a buffer |mapping| to write the result back. |task_runner| is |
- // used to post the notification that the sensor reading has changed. |
- PlatformSensorAmbientLightMac(mojom::SensorType type, |
- mojo::ScopedSharedBufferMapping mapping, |
+ // Construct a platform sensor of AMBIENT_LIGHT, given a buffer |mapping| |
+ // to write the result back. |
+ PlatformSensorAmbientLightMac(mojo::ScopedSharedBufferMapping mapping, |
PlatformSensorProvider* provider); |
mojom::ReportingMode GetReportingMode() override; |