| Index: third_party/WebKit/Source/modules/sensor/Gyroscope.cpp
|
| diff --git a/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp b/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp
|
| index c278f27a975d812793ebb9dc6c99238d3a4d67fc..e87ac84273c18629c7edd2bdff03fa279b7414b7 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/Gyroscope.cpp
|
| @@ -10,22 +10,23 @@ using device::mojom::blink::SensorType;
|
|
|
| namespace blink {
|
|
|
| -Gyroscope* Gyroscope::create(ScriptState* scriptState,
|
| +Gyroscope* Gyroscope::create(ExecutionContext* executionContext,
|
| const SensorOptions& options,
|
| ExceptionState& exceptionState) {
|
| - return new Gyroscope(scriptState, options, exceptionState);
|
| + return new Gyroscope(executionContext, options, exceptionState);
|
| }
|
|
|
| // static
|
| -Gyroscope* Gyroscope::create(ScriptState* scriptState,
|
| +Gyroscope* Gyroscope::create(ExecutionContext* executionContext,
|
| ExceptionState& exceptionState) {
|
| - return create(scriptState, SensorOptions(), exceptionState);
|
| + return create(executionContext, SensorOptions(), exceptionState);
|
| }
|
|
|
| -Gyroscope::Gyroscope(ScriptState* scriptState,
|
| +Gyroscope::Gyroscope(ExecutionContext* executionContext,
|
| const SensorOptions& options,
|
| ExceptionState& exceptionState)
|
| - : Sensor(scriptState, options, exceptionState, SensorType::GYROSCOPE) {}
|
| + : Sensor(executionContext, options, exceptionState, SensorType::GYROSCOPE) {
|
| +}
|
|
|
| GyroscopeReading* Gyroscope::reading() const {
|
| return static_cast<GyroscopeReading*>(Sensor::reading());
|
|
|