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..25d33c57a20b5cbe9908f0d1106f26a1acfccb00 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*, ExecutionContext*, const SensorOptions&, ExceptionState&); |
+ static AmbientLightSensor* create(ScriptState*, ExecutionContext*, ExceptionState&); |
AmbientLightSensorReading* reading() const; |
DECLARE_VIRTUAL_TRACE(); |
private: |
- AmbientLightSensor(ExecutionContext*, const SensorOptions&); |
+ AmbientLightSensor(ScriptState*, ExecutionContext*, const SensorOptions&, ExceptionState&); |
// Sensor overrides. |
SensorReading* createSensorReading(SensorProxy*) override; |
SensorConfigurationPtr createSensorConfig(const SensorOptions&, const SensorConfiguration& defaultConfig) override; |