| Index: third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| diff --git a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| index 345117c1fcbbacc181af197d5f33af3849c403ad..c5346e7797fb0dbac11a5b00b88e9ed56b7f258d 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| +++ b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| @@ -9,8 +9,6 @@
|
|
|
| namespace blink {
|
|
|
| -class AmbientLightSensorReading;
|
| -
|
| class AmbientLightSensor final : public Sensor {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| @@ -20,14 +18,12 @@ class AmbientLightSensor final : public Sensor {
|
| ExceptionState&);
|
| static AmbientLightSensor* create(ExecutionContext*, ExceptionState&);
|
|
|
| - AmbientLightSensorReading* reading() const;
|
| + double illuminance(bool& isNull) const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| AmbientLightSensor(ExecutionContext*, const SensorOptions&, ExceptionState&);
|
| - // Sensor overrides.
|
| - std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override;
|
| };
|
|
|
| } // namespace blink
|
|
|