| Index: Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| diff --git a/Source/modules/device_orientation/DeviceMotionDispatcher.cpp b/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| index 21d72f821416c1f0be2b769bb18d585432e8ef6e..b5c51b0a4ae9483f01b18e3e987a65893c535111 100644
|
| --- a/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| +++ b/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| @@ -53,16 +53,16 @@ DeviceMotionDispatcher::~DeviceMotionDispatcher()
|
|
|
| void DeviceMotionDispatcher::startListening()
|
| {
|
| - blink::Platform::current()->startListening(WebPlatformEventDeviceMotion, this);
|
| + Platform::current()->startListening(WebPlatformEventDeviceMotion, this);
|
| }
|
|
|
| void DeviceMotionDispatcher::stopListening()
|
| {
|
| - blink::Platform::current()->stopListening(WebPlatformEventDeviceMotion);
|
| + Platform::current()->stopListening(WebPlatformEventDeviceMotion);
|
| m_lastDeviceMotionData.clear();
|
| }
|
|
|
| -void DeviceMotionDispatcher::didChangeDeviceMotion(const blink::WebDeviceMotionData& motion)
|
| +void DeviceMotionDispatcher::didChangeDeviceMotion(const WebDeviceMotionData& motion)
|
| {
|
| m_lastDeviceMotionData = DeviceMotionData::create(motion);
|
| notifyControllers();
|
|
|