| 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 058502985831b9a28ff0bc1432f955c44e60b844..4b97c2d4d4612649d15d471365918c5d4e0fc669 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/Gyroscope.h
|
| +++ b/third_party/WebKit/Source/modules/sensor/Gyroscope.h
|
| @@ -9,8 +9,6 @@
|
|
|
| namespace blink {
|
|
|
| -class GyroscopeReading;
|
| -
|
| class Gyroscope final : public Sensor {
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| @@ -20,14 +18,14 @@ class Gyroscope final : public Sensor {
|
| ExceptionState&);
|
| static Gyroscope* create(ExecutionContext*, ExceptionState&);
|
|
|
| - GyroscopeReading* reading() const;
|
| + double x(bool& isNull) const;
|
| + double y(bool& isNull) const;
|
| + double z(bool& isNull) const;
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| Gyroscope(ExecutionContext*, const SensorOptions&, ExceptionState&);
|
| - // Sensor overrides.
|
| - std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override;
|
| };
|
|
|
| } // namespace blink
|
|
|