Index: third_party/WebKit/Source/core/events/UIEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/UIEvent.cpp b/third_party/WebKit/Source/core/events/UIEvent.cpp |
index 5194710fae760bfe6fa837e354042fbd5d40f63c..317cf06182a9a5875af43ebb31e4bc53286a9eb9 100644 |
--- a/third_party/WebKit/Source/core/events/UIEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/UIEvent.cpp |
@@ -83,7 +83,7 @@ void UIEvent::initUIEvent(const AtomicString& typeArg, bool canBubbleArg, bool c |
void UIEvent::initUIEventInternal(const AtomicString& typeArg, bool canBubbleArg, bool cancelableArg, EventTarget* relatedTarget, AbstractView* viewArg, int detailArg, InputDeviceCapabilities* sourceCapabilitiesArg) |
{ |
- if (dispatched()) |
+ if (isBeingDispatched()) |
return; |
initEvent(typeArg, canBubbleArg, cancelableArg, relatedTarget); |