| Index: third_party/WebKit/Source/modules/sensor/SensorProxy.h
|
| diff --git a/third_party/WebKit/Source/modules/sensor/SensorProxy.h b/third_party/WebKit/Source/modules/sensor/SensorProxy.h
|
| index faf62de4966b148e868f342539482bb56d1af5f9..4c32534e9ae1a38158f008f63bd99cfdfe4bff11 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/SensorProxy.h
|
| +++ b/third_party/WebKit/Source/modules/sensor/SensorProxy.h
|
| @@ -70,6 +70,8 @@ class SensorProxy final : public GarbageCollectedFinalized<SensorProxy>,
|
|
|
| const device::mojom::blink::SensorConfiguration* defaultConfig() const;
|
|
|
| + double maximumFrequency() const { return m_maximumFrequency; }
|
| +
|
| // Updates sensor reading from shared buffer.
|
| void updateSensorReading();
|
|
|
| @@ -113,6 +115,7 @@ class SensorProxy final : public GarbageCollectedFinalized<SensorProxy>,
|
| bool m_suspended;
|
| Member<SensorReading> m_reading;
|
| std::unique_ptr<SensorReadingFactory> m_readingFactory;
|
| + double m_maximumFrequency;
|
|
|
| using ReadingBuffer = device::SensorReadingSharedBuffer;
|
| static_assert(
|
|
|