| Index: Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| diff --git a/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp b/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| index 9896ea31022d6f082718bc875ee492a5bfa3ab9e..9b24851d369621eb80763bedb61755bc1a58a621 100644
|
| --- a/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| +++ b/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| @@ -53,16 +53,16 @@ DeviceOrientationDispatcher::~DeviceOrientationDispatcher()
|
|
|
| void DeviceOrientationDispatcher::startListening()
|
| {
|
| - blink::Platform::current()->startListening(WebPlatformEventDeviceOrientation, this);
|
| + Platform::current()->startListening(WebPlatformEventDeviceOrientation, this);
|
| }
|
|
|
| void DeviceOrientationDispatcher::stopListening()
|
| {
|
| - blink::Platform::current()->stopListening(WebPlatformEventDeviceOrientation);
|
| + Platform::current()->stopListening(WebPlatformEventDeviceOrientation);
|
| m_lastDeviceOrientationData.clear();
|
| }
|
|
|
| -void DeviceOrientationDispatcher::didChangeDeviceOrientation(const blink::WebDeviceOrientationData& motion)
|
| +void DeviceOrientationDispatcher::didChangeDeviceOrientation(const WebDeviceOrientationData& motion)
|
| {
|
| m_lastDeviceOrientationData = DeviceOrientationData::create(motion);
|
| notifyControllers();
|
|
|