Index: Source/WebCore/dom/Comment.cpp |
diff --git a/Source/WebCore/dom/Comment.cpp b/Source/WebCore/dom/Comment.cpp |
index c2f0582ecef06dc453f459a95d5693c4e9c0a10a..c9ebe9e892594dd73b089097f7adc66c51a3d8ff 100644 |
--- a/Source/WebCore/dom/Comment.cpp |
+++ b/Source/WebCore/dom/Comment.cpp |
@@ -29,6 +29,7 @@ namespace WebCore { |
inline Comment::Comment(Document* document, const String& text) |
: CharacterData(document, text, CreateOther) |
{ |
+ ScriptWrappable::init(this); |
} |
PassRefPtr<Comment> Comment::create(Document* document, const String& text) |