Index: content/renderer/device_sensors/device_orientation_event_pump_unittest.cc |
diff --git a/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc b/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc |
index 0eaa29743b20815dc9598fc7197e1ecba2ac2913..6fffbfcd6a854d9eb0f0d11ff7d8bf662021b761 100644 |
--- a/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc |
+++ b/content/renderer/device_sensors/device_orientation_event_pump_unittest.cc |
@@ -80,10 +80,11 @@ class DeviceOrientationEventPumpTest : public testing::Test { |
listener_.reset(new MockDeviceOrientationListener); |
orientation_pump_.reset(new DeviceOrientationEventPumpForTesting); |
shared_memory_ = mojo::SharedBufferHandle::Create( |
- sizeof(DeviceOrientationHardwareBuffer)); |
- mapping_ = shared_memory_->Map(sizeof(DeviceOrientationHardwareBuffer)); |
+ sizeof(device::DeviceOrientationHardwareBuffer)); |
+ mapping_ = |
+ shared_memory_->Map(sizeof(device::DeviceOrientationHardwareBuffer)); |
ASSERT_TRUE(mapping_); |
- memset(buffer(), 0, sizeof(DeviceOrientationHardwareBuffer)); |
+ memset(buffer(), 0, sizeof(device::DeviceOrientationHardwareBuffer)); |
} |
void InitBuffer() { |
@@ -110,8 +111,9 @@ class DeviceOrientationEventPumpTest : public testing::Test { |
return shared_memory_->Clone( |
mojo::SharedBufferHandle::AccessMode::READ_ONLY); |
} |
- DeviceOrientationHardwareBuffer* buffer() { |
- return reinterpret_cast<DeviceOrientationHardwareBuffer*>(mapping_.get()); |
+ device::DeviceOrientationHardwareBuffer* buffer() { |
+ return reinterpret_cast<device::DeviceOrientationHardwareBuffer*>( |
+ mapping_.get()); |
} |
private: |