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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp

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: third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
index c1d92c5f900e96669f478de5f38dd59b692bccda..1de16874289bb114670845b8271550c3037ea3da 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
@@ -61,7 +61,7 @@ void DeviceMotionDispatcher::StopListening() {
}
void DeviceMotionDispatcher::DidChangeDeviceMotion(
- const device::MotionData& motion) {
+ const WebDeviceMotionData& motion) {
last_device_motion_data_ = DeviceMotionData::Create(motion);
NotifyControllers();
}

Powered by Google App Engine
This is Rietveld 408576698