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 97b0f61fae8dde69e4fe428c28d509cde0463be5..1fd440a87a281b27f7d5caf9c83fff7768be80a2 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h |
@@ -36,13 +36,10 @@ |
#include "platform/wtf/RefPtr.h" |
#include "public/platform/modules/device_orientation/WebDeviceMotionListener.h" |
-namespace device { |
-class MotionData; |
-} |
- |
namespace blink { |
class DeviceMotionData; |
+class WebDeviceMotionData; |
// This class listens to device motion data and notifies all registered |
// controllers. |
@@ -61,7 +58,7 @@ class DeviceMotionDispatcher final |
DeviceMotionData* LatestDeviceMotionData(); |
// Inherited from WebDeviceMotionListener. |
- void DidChangeDeviceMotion(const device::MotionData&) override; |
+ void DidChangeDeviceMotion(const WebDeviceMotionData&) override; |
DECLARE_VIRTUAL_TRACE(); |