Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp |
index c75a84ac27206dc48d09df8865569ed896754b07..861123db93032ff47952eaf70015b7b71b367c29 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.cpp |
@@ -24,7 +24,8 @@ |
*/ |
#include "modules/device_orientation/DeviceMotionData.h" |
-#include "public/platform/modules/device_orientation/WebDeviceMotionData.h" |
+ |
+#include "device/sensors/public/cpp/motion_data.h" |
namespace blink { |
@@ -92,7 +93,7 @@ DeviceMotionData* DeviceMotionData::create( |
rotationRate, canProvideInterval, interval); |
} |
-DeviceMotionData* DeviceMotionData::create(const WebDeviceMotionData& data) { |
+DeviceMotionData* DeviceMotionData::create(const device::MotionData& data) { |
return DeviceMotionData::create( |
DeviceMotionData::Acceleration::create( |
data.hasAccelerationX, data.accelerationX, data.hasAccelerationY, |