Index: third_party/WebKit/Source/modules/sensor/Magnetometer.h |
diff --git a/third_party/WebKit/Source/modules/sensor/Magnetometer.h b/third_party/WebKit/Source/modules/sensor/Magnetometer.h |
index 6d926acb0bf1338656e8b732e2b568e1946950e0..f1d5b9a3812e95d4193d92d779f3456af1933688 100644 |
--- a/third_party/WebKit/Source/modules/sensor/Magnetometer.h |
+++ b/third_party/WebKit/Source/modules/sensor/Magnetometer.h |
@@ -9,8 +9,6 @@ |
namespace blink { |
-class MagnetometerReading; |
- |
class Magnetometer final : public Sensor { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -20,14 +18,14 @@ class Magnetometer final : public Sensor { |
ExceptionState&); |
static Magnetometer* create(ExecutionContext*, ExceptionState&); |
- MagnetometerReading* reading() const; |
+ double x(bool& isNull) const; |
+ double y(bool& isNull) const; |
+ double z(bool& isNull) const; |
DECLARE_VIRTUAL_TRACE(); |
private: |
Magnetometer(ExecutionContext*, const SensorOptions&, ExceptionState&); |
- // Sensor overrides. |
- std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override; |
}; |
} // namespace blink |