| 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 868bf1652dace56346a5e18b9195afcf7c7b4792..77d3b1b90d274571f17eb92676ed1b3ec3cd457b 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| +++ b/third_party/WebKit/Source/modules/sensor/AmbientLightSensor.h
|
| @@ -15,15 +15,15 @@ class AmbientLightSensor final : public Sensor {
|
| USING_GARBAGE_COLLECTED_MIXIN(AmbientLightSensor);
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static AmbientLightSensor* create(ExecutionContext*, const SensorOptions&);
|
| - static AmbientLightSensor* create(ExecutionContext*);
|
| + static AmbientLightSensor* create(ScriptState*, const SensorOptions&, ExceptionState&);
|
| + static AmbientLightSensor* create(ScriptState*, ExceptionState&);
|
|
|
| AmbientLightSensorReading* reading() const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - AmbientLightSensor(ExecutionContext*, const SensorOptions&);
|
| + AmbientLightSensor(ScriptState*, const SensorOptions&, ExceptionState&);
|
| // Sensor overrides.
|
| SensorReading* createSensorReading(SensorProxy*) override;
|
| SensorConfigurationPtr createSensorConfig(const SensorOptions&, const SensorConfiguration& defaultConfig) override;
|
|
|