Index: Source/WebCore/dom/Document.h |
diff --git a/Source/WebCore/dom/Document.h b/Source/WebCore/dom/Document.h |
index 7a098fe2be2d72884875f420c0987ac1691d8c07..af8a48cfb1788617d513fa395275d92e1e0f98ea 100644 |
--- a/Source/WebCore/dom/Document.h |
+++ b/Source/WebCore/dom/Document.h |
@@ -1599,6 +1599,7 @@ inline Node::Node(Document* document, ConstructionType type) |
, m_previous(0) |
, m_next(0) |
{ |
+ ScriptWrappable::init(this); |
if (!m_treeScope) |
m_treeScope = TreeScope::noDocumentInstance(); |
m_treeScope->guardRef(); |