Index: third_party/WebKit/Source/core/events/MouseEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.cpp b/third_party/WebKit/Source/core/events/MouseEvent.cpp |
index 943a33e71c2d3d2797810a8027c2d55900541b6d..aea15a14bf7d97f372b85d5ff52683ab5a54adfd 100644 |
--- a/third_party/WebKit/Source/core/events/MouseEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/MouseEvent.cpp |
@@ -181,7 +181,7 @@ void MouseEvent::initMouseEvent(ScriptState* scriptState, const AtomicString& ty |
bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, |
short button, EventTarget* relatedTarget, unsigned short buttons) |
{ |
- if (dispatched()) |
+ if (isBeingDispatched()) |
return; |
if (scriptState && scriptState->world().isIsolatedWorld()) |