Index: Source/core/dom/NodeList.h |
diff --git a/Source/core/dom/NodeList.h b/Source/core/dom/NodeList.h |
index 76c51dae695d72694d45b99f3ee92b2bc83ad55c..6f27c5e8b65b7b829953460ef438bff20f9ff0ee 100644 |
--- a/Source/core/dom/NodeList.h |
+++ b/Source/core/dom/NodeList.h |
@@ -32,7 +32,7 @@ namespace WebCore { |
class Node; |
-class NodeList : public ScriptWrappable, public RefCounted<NodeList> { |
+class NodeList : public RefCountedWillBeGarbageCollectedFinalized<NodeList>, public ScriptWrappable { |
public: |
virtual ~NodeList() { } |
@@ -46,6 +46,8 @@ public: |
virtual Node* virtualOwnerNode() const { return 0; } |
+ virtual void trace(Visitor*) { } |
+ |
protected: |
NodeList() |
{ |