| Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| index 0647e5f798b6ec4c72b374fb19f5b38b0f5046c6..bc997d8ed10ca7c0df767df68fb103c5d4dfd657 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
|
| @@ -59,12 +59,12 @@ DEFINE_TRACE(DeviceOrientationDispatcher)
|
|
|
| void DeviceOrientationDispatcher::startListening()
|
| {
|
| - Platform::current()->startListening(WebPlatformEventDeviceOrientation, this);
|
| + Platform::current()->startListening(WebPlatformEventTypeDeviceOrientation, this);
|
| }
|
|
|
| void DeviceOrientationDispatcher::stopListening()
|
| {
|
| - Platform::current()->stopListening(WebPlatformEventDeviceOrientation);
|
| + Platform::current()->stopListening(WebPlatformEventTypeDeviceOrientation);
|
| m_lastDeviceOrientationData.clear();
|
| }
|
|
|
|
|