| Index: Source/modules/device_orientation/DeviceMotionDispatcher.h | 
| diff --git a/Source/modules/device_orientation/DeviceMotionDispatcher.h b/Source/modules/device_orientation/DeviceMotionDispatcher.h | 
| index 227a5bb3742a06bb9805d04094d550e2a6d175dd..0f21d733bc912a1efe208147c6d4f2d1efa017a5 100644 | 
| --- a/Source/modules/device_orientation/DeviceMotionDispatcher.h | 
| +++ b/Source/modules/device_orientation/DeviceMotionDispatcher.h | 
| @@ -31,7 +31,7 @@ | 
| #ifndef DeviceMotionDispatcher_h | 
| #define DeviceMotionDispatcher_h | 
|  | 
| -#include "core/frame/DeviceEventDispatcherBase.h" | 
| +#include "core/frame/DeviceSensorEventDispatcher.h" | 
| #include "platform/heap/Handle.h" | 
| #include "public/platform/WebDeviceMotionListener.h" | 
| #include "wtf/RefPtr.h" | 
| @@ -45,8 +45,9 @@ | 
| class DeviceMotionController; | 
| class DeviceMotionData; | 
|  | 
| -// This class listens to device motion data and notifies all registered controllers. | 
| -class DeviceMotionDispatcher FINAL : public DeviceEventDispatcherBase, public blink::WebDeviceMotionListener { | 
| +// This class listens to device motion data and dispatches it to all | 
| +// listening controllers. | 
| +class DeviceMotionDispatcher FINAL : public DeviceSensorEventDispatcher, public blink::WebDeviceMotionListener { | 
| public: | 
| static DeviceMotionDispatcher& instance(); | 
|  | 
| @@ -54,14 +55,15 @@ | 
| // FIXME: make the return value const, see crbug.com/233174. | 
| DeviceMotionData* latestDeviceMotionData(); | 
|  | 
| -    // Inherited from WebDeviceMotionListener. | 
| +    // This method is called every time new device motion data is available. | 
| virtual void didChangeDeviceMotion(const blink::WebDeviceMotionData&) OVERRIDE; | 
| +    void addDeviceMotionController(DeviceMotionController*); | 
| +    void removeDeviceMotionController(DeviceMotionController*); | 
|  | 
| private: | 
| DeviceMotionDispatcher(); | 
| virtual ~DeviceMotionDispatcher(); | 
|  | 
| -    // Inherited from DeviceEventDispatcherBase. | 
| virtual void startListening() OVERRIDE; | 
| virtual void stopListening() OVERRIDE; | 
|  | 
|  |