| 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 bdfdf825322b0f4076d517de8ac632b9f971f932..041c48f3465db07d7739028e5e31c677ae09bfbb 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() {
|
| @@ -1200,7 +1200,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;
|
| }
|
|
|
| @@ -1208,7 +1208,7 @@ void RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(
|
|
|
| // static
|
| void RendererBlinkPlatformImpl::SetMockDeviceOrientationDataForTesting(
|
| - const blink::WebDeviceOrientationData& data) {
|
| + const device::OrientationData& data) {
|
| g_test_device_orientation_data.Get() = data;
|
| }
|
|
|
|
|