| Index: third_party/WebKit/Source/modules/sensor/Sensor.h
|
| diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.h b/third_party/WebKit/Source/modules/sensor/Sensor.h
|
| index e420d2d361e46545c4a82d63eddea5c407752996..1dfade7d3f4c96e43db939158a49c92c31ce52bd 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/Sensor.h
|
| +++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
|
| @@ -32,7 +32,7 @@ class Sensor : public EventTargetWithInlineData,
|
| DEFINE_WRAPPERTYPEINFO();
|
|
|
| public:
|
| - enum class SensorState { Unconnected, Activating, Activated, Idle, Errored };
|
| + enum class SensorState { Idle, Activating, Activated };
|
|
|
| ~Sensor() override;
|
|
|
| @@ -48,7 +48,7 @@ class Sensor : public EventTargetWithInlineData,
|
| }
|
|
|
| // Getters
|
| - String state() const;
|
| + bool activated() const;
|
| DOMHighResTimeStamp timestamp(ScriptState*, bool& isNull) const;
|
|
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
|
|
|