| 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 a54028632b2d5b37579b72b193a24f47ea242d67..debec584e50fd55ed6994b37a0f995fb4f6b24f8 100644
|
| --- a/content/renderer/renderer_blink_platform_impl.cc
|
| +++ b/content/renderer/renderer_blink_platform_impl.cc
|
| @@ -49,6 +49,7 @@
|
| #include "content/public/renderer/render_frame.h"
|
| #include "content/renderer/cache_storage/webserviceworkercachestorage_impl.h"
|
| #include "content/renderer/device_sensors/device_motion_event_pump.h"
|
| +#include "content/renderer/device_sensors/device_orientation_absolute_event_pump.h"
|
| #include "content/renderer/device_sensors/device_orientation_event_pump.h"
|
| #include "content/renderer/dom_storage/local_storage_cached_areas.h"
|
| #include "content/renderer/dom_storage/local_storage_namespace.h"
|
| @@ -172,9 +173,9 @@ namespace content {
|
| namespace {
|
|
|
| bool g_sandbox_enabled = true;
|
| -base::LazyInstance<device::MotionData>::Leaky g_test_device_motion_data =
|
| - LAZY_INSTANCE_INITIALIZER;
|
| -base::LazyInstance<device::OrientationData>::Leaky
|
| +base::LazyInstance<blink::WebDeviceMotionData>::Leaky
|
| + g_test_device_motion_data = LAZY_INSTANCE_INITIALIZER;
|
| +base::LazyInstance<blink::WebDeviceOrientationData>::Leaky
|
| g_test_device_orientation_data = LAZY_INSTANCE_INITIALIZER;
|
|
|
| media::AudioParameters GetAudioHardwareParams() {
|
| @@ -1122,7 +1123,7 @@ void RendererBlinkPlatformImpl::RecordRapporURL(const char* metric,
|
|
|
| // static
|
| void RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(
|
| - const device::MotionData& data) {
|
| + const blink::WebDeviceMotionData& data) {
|
| g_test_device_motion_data.Get() = data;
|
| }
|
|
|
| @@ -1130,7 +1131,7 @@ void RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(
|
|
|
| // static
|
| void RendererBlinkPlatformImpl::SetMockDeviceOrientationDataForTesting(
|
| - const device::OrientationData& data) {
|
| + const blink::WebDeviceOrientationData& data) {
|
| g_test_device_orientation_data.Get() = data;
|
| }
|
|
|
|
|