Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 8ddd1ba058f43f7da3d14c83e62ee01a39c9c614..6c8d1388093383eab41b22d80acd0891b96cdafb 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -41,13 +41,13 @@ |
#include "content/shell/test_runner/web_frame_test_proxy.h" |
#include "content/shell/test_runner/web_view_test_proxy.h" |
#include "content/shell/test_runner/web_widget_test_proxy.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 "services/ui/public/cpp/gpu/context_provider_command_buffer.h" |
#include "third_party/WebKit/public/platform/WebFloatRect.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" |
@@ -67,8 +67,6 @@ |
#include "ui/gfx/win/direct_write.h" |
#endif |
-using device::MotionData; |
-using device::OrientationData; |
using blink::WebRect; |
using blink::WebSize; |
@@ -270,11 +268,11 @@ void SetMockGamepadProvider(std::unique_ptr<RendererGamepadProvider> provider) { |
std::move(provider)); |
} |
-void SetMockDeviceMotionData(const MotionData& data) { |
+void SetMockDeviceMotionData(const blink::WebDeviceMotionData& data) { |
RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(data); |
} |
-void SetMockDeviceOrientationData(const OrientationData& data) { |
+void SetMockDeviceOrientationData(const blink::WebDeviceOrientationData& data) { |
RendererBlinkPlatformImpl::SetMockDeviceOrientationDataForTesting(data); |
} |