| 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 1c2112d33c802bb7f9a80347e7f9a8581f655b3a..1d2c5897e4e3cf4fb2138a5315808c952b30ee74 100644
|
| --- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
|
| +++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
|
| @@ -48,7 +48,7 @@ DeviceMotionEvent::DeviceMotionEvent(const AtomicString& eventType, DeviceMotion
|
|
|
| void DeviceMotionEvent::initDeviceMotionEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceMotionData* deviceMotionData)
|
| {
|
| - if (dispatched())
|
| + if (isBeingDispatched())
|
| return;
|
|
|
| initEvent(type, bubbles, cancelable);
|
|
|