| Index: content/renderer/device_sensors/device_sensor_event_pump.h
|
| diff --git a/content/renderer/device_sensors/device_sensor_event_pump.h b/content/renderer/device_sensors/device_sensor_event_pump.h
|
| index c77db34c42a15d2f0c8426a3979cf9e86d420d2e..e109c113ed24c0a7b185183f98153d3bdb7131b3 100644
|
| --- a/content/renderer/device_sensors/device_sensor_event_pump.h
|
| +++ b/content/renderer/device_sensors/device_sensor_event_pump.h
|
| @@ -56,6 +56,7 @@ class CONTENT_EXPORT DeviceSensorEventPump
|
| state_(STOPPED) {}
|
|
|
| virtual ~DeviceSensorEventPump() {
|
| + PlatformEventObserver<ListenerType>::StopIfObserving();
|
| }
|
|
|
| // The pump is a tri-state automaton with allowed transitions as follows:
|
|
|