Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h |
index 55c4bd3cf09a8d37c42f30c80061901be0d1b275..9ef20edf5e8a5382090a11e9d2224ad3ceb1e03e 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h |
@@ -36,10 +36,13 @@ |
#include "public/platform/modules/device_orientation/WebDeviceMotionListener.h" |
#include "wtf/RefPtr.h" |
+namespace device { |
+class MotionData; |
+} |
+ |
namespace blink { |
class DeviceMotionData; |
-class WebDeviceMotionData; |
// This class listens to device motion data and notifies all registered |
// controllers. |
@@ -58,7 +61,7 @@ class DeviceMotionDispatcher final |
DeviceMotionData* latestDeviceMotionData(); |
// Inherited from WebDeviceMotionListener. |
- void didChangeDeviceMotion(const WebDeviceMotionData&) override; |
+ void didChangeDeviceMotion(const device::MotionData&) override; |
DECLARE_VIRTUAL_TRACE(); |