Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp |
index 4bd0770de86b8f3b40d325dbf10319153f4567ce..7552b712a8c7dd0b3619ee670781da13a44b0483 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp |
@@ -46,7 +46,7 @@ DeviceOrientationEvent::DeviceOrientationEvent(const AtomicString& eventType, De |
void DeviceOrientationEvent::initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, const Nullable<double>& alpha, const Nullable<double>& beta, const Nullable<double>& gamma, bool absolute) |
{ |
- if (dispatched()) |
+ if (isBeingDispatched()) |
return; |
initEvent(type, bubbles, cancelable); |