Index: Source/core/dom/NodeFilterCondition.h |
diff --git a/Source/core/dom/NodeFilterCondition.h b/Source/core/dom/NodeFilterCondition.h |
index e6dbc923bf2af929c7cd7f8487cfd2896d2ddae0..d1248f3b5e14ca353e1abfea2352e16988d0041d 100644 |
--- a/Source/core/dom/NodeFilterCondition.h |
+++ b/Source/core/dom/NodeFilterCondition.h |
@@ -25,6 +25,7 @@ |
#ifndef NodeFilterCondition_h |
#define NodeFilterCondition_h |
+#include "platform/heap/Handle.h" |
#include "wtf/RefCounted.h" |
namespace WebCore { |
@@ -32,10 +33,12 @@ namespace WebCore { |
class ExceptionState; |
class Node; |
-class NodeFilterCondition : public RefCounted<NodeFilterCondition> { |
+class NodeFilterCondition : public RefCountedWillBeGarbageCollectedFinalized<NodeFilterCondition> { |
public: |
virtual ~NodeFilterCondition() { } |
virtual short acceptNode(Node*, ExceptionState&) const = 0; |
+ |
+ virtual void trace(Visitor*) { } |
}; |
} // namespace WebCore |