Index: third_party/WebKit/Source/modules/sensor/Gyroscope.h |
diff --git a/third_party/WebKit/Source/modules/sensor/Gyroscope.h b/third_party/WebKit/Source/modules/sensor/Gyroscope.h |
index f92f0060eb11758f7dc10fb708e3aff82ed22b1d..058502985831b9a28ff0bc1432f955c44e60b844 100644 |
--- a/third_party/WebKit/Source/modules/sensor/Gyroscope.h |
+++ b/third_party/WebKit/Source/modules/sensor/Gyroscope.h |
@@ -15,15 +15,17 @@ class Gyroscope final : public Sensor { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static Gyroscope* create(ScriptState*, const SensorOptions&, ExceptionState&); |
- static Gyroscope* create(ScriptState*, ExceptionState&); |
+ static Gyroscope* create(ExecutionContext*, |
+ const SensorOptions&, |
+ ExceptionState&); |
+ static Gyroscope* create(ExecutionContext*, ExceptionState&); |
GyroscopeReading* reading() const; |
DECLARE_VIRTUAL_TRACE(); |
private: |
- Gyroscope(ScriptState*, const SensorOptions&, ExceptionState&); |
+ Gyroscope(ExecutionContext*, const SensorOptions&, ExceptionState&); |
// Sensor overrides. |
std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override; |
}; |