Index: content/renderer/device_sensors/device_motion_event_pump.cc |
diff --git a/content/renderer/device_sensors/device_motion_event_pump.cc b/content/renderer/device_sensors/device_motion_event_pump.cc |
index d8b4f1790575ec0f35b4dad5bfcde05a31c73290..2f7392a88b89bce60607c7c23c77651b6bfa5b7a 100644 |
--- a/content/renderer/device_sensors/device_motion_event_pump.cc |
+++ b/content/renderer/device_sensors/device_motion_event_pump.cc |
@@ -19,7 +19,7 @@ DeviceMotionEventPump::~DeviceMotionEventPump() { |
void DeviceMotionEventPump::FireEvent() { |
DCHECK(listener()); |
- blink::WebDeviceMotionData data; |
+ device::MotionData data; |
if (reader_->GetLatestData(&data) && data.allAvailableSensorsAreActive) |
listener()->didChangeDeviceMotion(data); |
} |
@@ -31,8 +31,7 @@ bool DeviceMotionEventPump::InitializeReader(base::SharedMemoryHandle handle) { |
} |
void DeviceMotionEventPump::SendFakeDataForTesting(void* fake_data) { |
- blink::WebDeviceMotionData data = |
- *static_cast<blink::WebDeviceMotionData*>(fake_data); |
+ device::MotionData data = *static_cast<device::MotionData*>(fake_data); |
listener()->didChangeDeviceMotion(data); |
} |