Index: Source/WebCore/html/HTMLVideoElement.cpp |
diff --git a/Source/WebCore/html/HTMLVideoElement.cpp b/Source/WebCore/html/HTMLVideoElement.cpp |
index 1fccdd92b068c9b3b5021e37a6d491f627d665ee..4d8f7ff6a2b7501a80ec0eacce932d93c5b890c0 100644 |
--- a/Source/WebCore/html/HTMLVideoElement.cpp |
+++ b/Source/WebCore/html/HTMLVideoElement.cpp |
@@ -51,6 +51,7 @@ inline HTMLVideoElement::HTMLVideoElement(const QualifiedName& tagName, Document |
: HTMLMediaElement(tagName, document, createdByParser) |
{ |
ASSERT(hasTagName(videoTag)); |
+ ScriptWrappable::init(this); |
if (document->settings()) |
m_defaultPosterURL = document->settings()->defaultVideoPosterURL(); |
} |