Index: third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
index 185341fbd5188cdd33bb4ade9c26cccfe952ad99..146800fc61680f5419758f39facf49b82bb67b53 100644 |
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp |
@@ -113,7 +113,7 @@ KeyboardEvent::~KeyboardEvent() |
void KeyboardEvent::initKeyboardEvent(ScriptState* scriptState, const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view, |
const String& keyIdentifier, unsigned location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) |
{ |
- if (dispatched()) |
+ if (isBeingDispatched()) |
return; |
if (scriptState->world().isIsolatedWorld()) |