Index: Source/modules/device_orientation/DeviceMotionDispatcher.h |
diff --git a/Source/modules/device_orientation/DeviceMotionDispatcher.h b/Source/modules/device_orientation/DeviceMotionDispatcher.h |
index 03ced17fb87167fa441db492e6fb93afe4d33123..3d5d3a86b080a7cdfdec40fba3ab87d84e968ddf 100644 |
--- a/Source/modules/device_orientation/DeviceMotionDispatcher.h |
+++ b/Source/modules/device_orientation/DeviceMotionDispatcher.h |
@@ -46,7 +46,7 @@ class DeviceMotionData; |
// This class listens to device motion data and dispatches it to all |
// listening controllers. |
-class DeviceMotionDispatcher : public DeviceSensorEventDispatcher, public blink::WebDeviceMotionListener { |
+class DeviceMotionDispatcher FINAL : public DeviceSensorEventDispatcher, public blink::WebDeviceMotionListener { |
public: |
static DeviceMotionDispatcher& instance(); |
@@ -61,7 +61,7 @@ public: |
private: |
DeviceMotionDispatcher(); |
- ~DeviceMotionDispatcher(); |
+ virtual ~DeviceMotionDispatcher(); |
virtual void startListening() OVERRIDE; |
virtual void stopListening() OVERRIDE; |