| Index: content/renderer/renderer_blink_platform_impl.cc
|
| diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
|
| index 4dcd0d9b0a0264615ed9e723d20eae77b6d1e0ff..865aaec569bcd8661c0f79e7e4daddc45eea0502 100644
|
| --- a/content/renderer/renderer_blink_platform_impl.cc
|
| +++ b/content/renderer/renderer_blink_platform_impl.cc
|
| @@ -174,9 +174,9 @@ namespace {
|
|
|
| bool g_sandbox_enabled = true;
|
| double g_test_device_light_data = -1;
|
| -base::LazyInstance<blink::WebDeviceMotionData>::Leaky
|
| - g_test_device_motion_data = LAZY_INSTANCE_INITIALIZER;
|
| -base::LazyInstance<blink::WebDeviceOrientationData>::Leaky
|
| +base::LazyInstance<device::MotionData>::Leaky g_test_device_motion_data =
|
| + LAZY_INSTANCE_INITIALIZER;
|
| +base::LazyInstance<device::OrientationData>::Leaky
|
| g_test_device_orientation_data = LAZY_INSTANCE_INITIALIZER;
|
|
|
| media::AudioParameters GetAudioHardwareParams() {
|
| @@ -1173,7 +1173,7 @@ void RendererBlinkPlatformImpl::SetMockDeviceLightDataForTesting(double data) {
|
|
|
| // static
|
| void RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(
|
| - const blink::WebDeviceMotionData& data) {
|
| + const device::MotionData& data) {
|
| g_test_device_motion_data.Get() = data;
|
| }
|
|
|
| @@ -1181,7 +1181,7 @@ void RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(
|
|
|
| // static
|
| void RendererBlinkPlatformImpl::SetMockDeviceOrientationDataForTesting(
|
| - const blink::WebDeviceOrientationData& data) {
|
| + const device::OrientationData& data) {
|
| g_test_device_orientation_data.Get() = data;
|
| }
|
|
|
|
|