summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/xml/XPathExpressionNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/xml/XPathExpressionNode.h')
-rw-r--r--Source/WebCore/xml/XPathExpressionNode.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/WebCore/xml/XPathExpressionNode.h b/Source/WebCore/xml/XPathExpressionNode.h
index c04d45b..4b5baa8 100644
--- a/Source/WebCore/xml/XPathExpressionNode.h
+++ b/Source/WebCore/xml/XPathExpressionNode.h
@@ -39,7 +39,9 @@ namespace WebCore {
namespace XPath {
- struct EvaluationContext : FastAllocBase {
+ struct EvaluationContext {
+ WTF_MAKE_FAST_ALLOCATED;
+ public:
RefPtr<Node> node;
unsigned long size;
unsigned long position;
@@ -53,7 +55,8 @@ namespace WebCore {
virtual ~ParseNode() { }
};
- class Expression : public ParseNode, public Noncopyable {
+ class Expression : public ParseNode {
+ WTF_MAKE_NONCOPYABLE(Expression); WTF_MAKE_FAST_ALLOCATED;
public:
static EvaluationContext& evaluationContext();