| 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 a0825aa6fecb3fbd698c1307d229930e2e99cfb1..345117c1fcbbacc181af197d5f33af3849c403ad 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| +++ b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| @@ -15,17 +15,17 @@ class AmbientLightSensor final : public Sensor {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - static AmbientLightSensor* create(ScriptState*,
|
| + static AmbientLightSensor* create(ExecutionContext*,
|
| const SensorOptions&,
|
| ExceptionState&);
|
| - static AmbientLightSensor* create(ScriptState*, ExceptionState&);
|
| + static AmbientLightSensor* create(ExecutionContext*, ExceptionState&);
|
|
|
| AmbientLightSensorReading* reading() const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - AmbientLightSensor(ScriptState*, const SensorOptions&, ExceptionState&);
|
| + AmbientLightSensor(ExecutionContext*, const SensorOptions&, ExceptionState&);
|
| // Sensor overrides.
|
| std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override;
|
| };
|
|
|