Index: Source/WebCore/dom/TextEvent.cpp |
diff --git a/Source/WebCore/dom/TextEvent.cpp b/Source/WebCore/dom/TextEvent.cpp |
index d8ea73891c7afd13ec83e603ef9577ab502c7ef0..18fd55901be317e4bca6196b237135b883aa94a6 100644 |
--- a/Source/WebCore/dom/TextEvent.cpp |
+++ b/Source/WebCore/dom/TextEvent.cpp |
@@ -67,6 +67,7 @@ TextEvent::TextEvent() |
, m_shouldSmartReplace(false) |
, m_shouldMatchStyle(false) |
{ |
+ ScriptWrappable::init(this); |
} |
TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) |
@@ -77,6 +78,7 @@ TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEven |
, m_shouldSmartReplace(false) |
, m_shouldMatchStyle(false) |
{ |
+ ScriptWrappable::init(this); |
} |
TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, PassRefPtr<DocumentFragment> pastingFragment, |
@@ -88,6 +90,7 @@ TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, PassRefP |
, m_shouldSmartReplace(shouldSmartReplace) |
, m_shouldMatchStyle(shouldMatchStyle) |
{ |
+ ScriptWrappable::init(this); |
} |
TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, const Vector<DictationAlternative>& dictationAlternatives) |
@@ -98,6 +101,7 @@ TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, const Ve |
, m_shouldMatchStyle(false) |
, m_dictationAlternatives(dictationAlternatives) |
{ |
+ ScriptWrappable::init(this); |
} |
TextEvent::~TextEvent() |