| Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
|
| diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
|
| index 1975a4963a52b3e27bd5563f661f5d9e91a12a8c..e8a83b41fb21b19258df0bd0da87f82b08878107 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
|
| @@ -81,11 +81,8 @@ DeviceRotationRate* DeviceMotionEvent::rotationRate() {
|
| }
|
|
|
| double DeviceMotionEvent::interval(bool& isNull) const {
|
| - if (m_deviceMotionData->canProvideInterval())
|
| - return m_deviceMotionData->interval();
|
| -
|
| - isNull = true;
|
| - return 0;
|
| + isNull = false;
|
| + return m_deviceMotionData->interval();
|
| }
|
|
|
| const AtomicString& DeviceMotionEvent::interfaceName() const {
|
|
|