Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2187)

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2896583005: Reland: Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: updated test code Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index e3b92cc8d600cb1d0a60780755bf5385d4b4e3a8..686a72b29e032249fd654f26cc0f1ae50fa1054c 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -100,7 +100,6 @@ using blink::Platform;
using blink::WebArrayBufferView;
using blink::WebContextMenuData;
using blink::WebDevToolsAgent;
-using device::MotionData;
using device::OrientationData;
using blink::WebElement;
using blink::WebLocalFrame;
@@ -278,7 +277,8 @@ void BlinkTestRunner::SetGamepadProvider(
SetMockGamepadProvider(std::move(provider));
}
-void BlinkTestRunner::SetDeviceMotionData(const MotionData& data) {
+void BlinkTestRunner::SetDeviceMotionData(
+ const blink::WebDeviceMotionData& data) {
SetMockDeviceMotionData(data);
}

Powered by Google App Engine
This is Rietveld 408576698