Index: Source/core/dom/EmptyNodeList.cpp |
diff --git a/Source/core/dom/EmptyNodeList.cpp b/Source/core/dom/EmptyNodeList.cpp |
index 26104fbe28ec6c94b80c6a1840901c081328482a..ad76558f4030dd8d28f1c82e6363c70152024bce 100644 |
--- a/Source/core/dom/EmptyNodeList.cpp |
+++ b/Source/core/dom/EmptyNodeList.cpp |
@@ -39,7 +39,9 @@ namespace WebCore { |
EmptyNodeList::~EmptyNodeList() |
{ |
+#if !ENABLE(OILPAN) |
m_owner->nodeLists()->removeEmptyChildNodeList(this); |
+#endif |
} |
Node* EmptyNodeList::virtualOwnerNode() const |
@@ -47,4 +49,10 @@ Node* EmptyNodeList::virtualOwnerNode() const |
return &ownerNode(); |
} |
+void EmptyNodeList::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_owner); |
+ NodeList::trace(visitor); |
+} |
+ |
} // namespace WebCore |