summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/NodeFilterCondition.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/NodeFilterCondition.h')
-rw-r--r--WebCore/dom/NodeFilterCondition.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/WebCore/dom/NodeFilterCondition.h b/WebCore/dom/NodeFilterCondition.h
index c94cc9a..0d6313f 100644
--- a/WebCore/dom/NodeFilterCondition.h
+++ b/WebCore/dom/NodeFilterCondition.h
@@ -3,7 +3,7 @@
* Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
- * Copyright (C) 2004, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2008, 2009 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -28,6 +28,10 @@
#include "ScriptState.h"
#include <wtf/RefCounted.h>
+namespace JSC {
+ class MarkStack;
+}
+
namespace WebCore {
class Node;
@@ -36,7 +40,7 @@ namespace WebCore {
public:
virtual ~NodeFilterCondition() { }
virtual short acceptNode(ScriptState*, Node*) const = 0;
- virtual void mark() { }
+ virtual void markAggregate(JSC::MarkStack&) { }
};
} // namespace WebCore