Index: Source/WebCore/dom/ErrorEvent.cpp |
diff --git a/Source/WebCore/dom/ErrorEvent.cpp b/Source/WebCore/dom/ErrorEvent.cpp |
index 42c44fe24d96600cf98cf96f4b3b13f336fa337d..13f7ec61963b8cc2f6d98ad7513dff3327409a12 100644 |
--- a/Source/WebCore/dom/ErrorEvent.cpp |
+++ b/Source/WebCore/dom/ErrorEvent.cpp |
@@ -44,6 +44,7 @@ ErrorEventInit::ErrorEventInit() |
ErrorEvent::ErrorEvent() |
{ |
+ ScriptWrappable::init(this); |
} |
ErrorEvent::ErrorEvent(const AtomicString& type, const ErrorEventInit& initializer) |
@@ -52,6 +53,7 @@ ErrorEvent::ErrorEvent(const AtomicString& type, const ErrorEventInit& initializ |
, m_fileName(initializer.filename) |
, m_lineNumber(initializer.lineno) |
{ |
+ ScriptWrappable::init(this); |
} |
ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned lineNumber) |
@@ -60,6 +62,7 @@ ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned l |
, m_fileName(fileName) |
, m_lineNumber(lineNumber) |
{ |
+ ScriptWrappable::init(this); |
} |
ErrorEvent::~ErrorEvent() |