| Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| index a896982bdb9cb56de8f2bcea53843334374c186d..3e4d8fc95390dd3b4f620cd1ecd9c24deeefd920 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.cpp
|
| @@ -59,12 +59,12 @@ DEFINE_TRACE(DeviceMotionDispatcher)
|
|
|
| void DeviceMotionDispatcher::startListening()
|
| {
|
| - Platform::current()->startListening(WebPlatformEventDeviceMotion, this);
|
| + Platform::current()->startListening(WebPlatformEventTypeDeviceMotion, this);
|
| }
|
|
|
| void DeviceMotionDispatcher::stopListening()
|
| {
|
| - Platform::current()->stopListening(WebPlatformEventDeviceMotion);
|
| + Platform::current()->stopListening(WebPlatformEventTypeDeviceMotion);
|
| m_lastDeviceMotionData.clear();
|
| }
|
|
|
|
|