Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 7d4a647aae63fbc59b905cba09711167ca0b5519..04868cb54d125a4fc728285f69d39d945c2e4037 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -38,13 +38,13 @@ |
#include "content/renderer/render_widget.h" |
#include "content/renderer/renderer_blink_platform_impl.h" |
#include "content/shell/common/shell_switches.h" |
+#include "device/sensors/public/cpp/motion_data.h" |
+#include "device/sensors/public/cpp/orientation_data.h" |
#include "gpu/ipc/service/image_transport_surface.h" |
#include "third_party/WebKit/public/platform/WebFloatRect.h" |
#include "third_party/WebKit/public/platform/WebGamepads.h" |
#include "third_party/WebKit/public/platform/WebInputEvent.h" |
#include "third_party/WebKit/public/platform/WebRect.h" |
-#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionData.h" |
-#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h" |
#include "third_party/WebKit/public/platform/scheduler/test/renderer_scheduler_test_support.h" |
#include "third_party/WebKit/public/web/WebHistoryItem.h" |
#include "third_party/WebKit/public/web/WebView.h" |
@@ -62,8 +62,8 @@ |
#include "ui/gfx/win/direct_write.h" |
#endif |
-using blink::WebDeviceMotionData; |
-using blink::WebDeviceOrientationData; |
+using device::MotionData; |
+using device::OrientationData; |
using blink::WebGamepad; |
using blink::WebGamepads; |
using blink::WebRect; |
@@ -271,11 +271,11 @@ void SetMockDeviceLightData(const double data) { |
RendererBlinkPlatformImpl::SetMockDeviceLightDataForTesting(data); |
} |
-void SetMockDeviceMotionData(const WebDeviceMotionData& data) { |
+void SetMockDeviceMotionData(const MotionData& data) { |
RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(data); |
} |
-void SetMockDeviceOrientationData(const WebDeviceOrientationData& data) { |
+void SetMockDeviceOrientationData(const OrientationData& data) { |
RendererBlinkPlatformImpl::SetMockDeviceOrientationDataForTesting(data); |
} |