Index: Source/WebCore/dom/KeyboardEvent.cpp |
diff --git a/Source/WebCore/dom/KeyboardEvent.cpp b/Source/WebCore/dom/KeyboardEvent.cpp |
index 063807c3e3cc388421eb197d6d2c0031285f683e..a28c7190df6047edc8b632512f3a5fcac3900cb5 100644 |
--- a/Source/WebCore/dom/KeyboardEvent.cpp |
+++ b/Source/WebCore/dom/KeyboardEvent.cpp |
@@ -105,6 +105,7 @@ KeyboardEvent::KeyboardEvent() |
: m_keyLocation(DOMKeyLocationStandard) |
, m_altGraphKey(false) |
{ |
+ ScriptWrappable::init(this); |
} |
KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* view) |
@@ -115,6 +116,7 @@ KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* vie |
, m_keyLocation(keyLocationCode(key)) |
, m_altGraphKey(false) |
{ |
+ ScriptWrappable::init(this); |
} |
KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventInit& initializer) |
@@ -123,6 +125,7 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventI |
, m_keyLocation(initializer.keyLocation) |
, m_altGraphKey(false) |
{ |
+ ScriptWrappable::init(this); |
} |
KeyboardEvent::KeyboardEvent(const AtomicString& eventType, bool canBubble, bool cancelable, AbstractView *view, |
@@ -133,6 +136,7 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, bool canBubble, bool |
, m_keyLocation(keyLocation) |
, m_altGraphKey(altGraphKey) |
{ |
+ ScriptWrappable::init(this); |
} |
KeyboardEvent::~KeyboardEvent() |