Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h |
index 986088a5376a0c2d8282d6f09b4bdc720610ddb5..9bc93290b7b338220299bd688e427ecb9751bb6b 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h |
@@ -28,12 +28,15 @@ |
#include "platform/heap/Handle.h" |
+namespace device { |
+class MotionData; |
+} |
+ |
namespace blink { |
class DeviceAccelerationInit; |
class DeviceMotionEventInit; |
class DeviceRotationRateInit; |
-class WebDeviceMotionData; |
class DeviceMotionData final : public GarbageCollected<DeviceMotionData> { |
public: |
@@ -118,7 +121,7 @@ class DeviceMotionData final : public GarbageCollected<DeviceMotionData> { |
bool canProvideInterval, |
double interval); |
static DeviceMotionData* create(const DeviceMotionEventInit&); |
- static DeviceMotionData* create(const WebDeviceMotionData&); |
+ static DeviceMotionData* create(const device::MotionData&); |
DECLARE_TRACE(); |
Acceleration* getAcceleration() const { return m_acceleration.get(); } |