Index: Source/core/xml/XPathStep.h |
diff --git a/Source/core/xml/XPathStep.h b/Source/core/xml/XPathStep.h |
index b148aae1471adf536533954502bda36ee4476567..cc6bb091f97d00067a20b7b696ccd01f08955c04 100644 |
--- a/Source/core/xml/XPathStep.h |
+++ b/Source/core/xml/XPathStep.h |
@@ -38,7 +38,7 @@ namespace XPath { |
class Predicate; |
-class Step : public ParseNode { |
+class Step FINAL : public ParseNode { |
WTF_MAKE_NONCOPYABLE(Step); |
WTF_MAKE_FAST_ALLOCATED; |
public: |
@@ -94,7 +94,7 @@ public: |
Step(Axis, const NodeTest&); |
Step(Axis, const NodeTest&, Vector<OwnPtr<Predicate> >&); |
- ~Step(); |
+ virtual ~Step(); |
void optimize(); |