| Index: Source/core/xml/XPathPredicate.h
|
| diff --git a/Source/core/xml/XPathPredicate.h b/Source/core/xml/XPathPredicate.h
|
| index 2faa9913f86c01e8f0be860c3ab9744f87c4ef38..629d83d0e16b9c83af79322f641a39b64fe07908 100644
|
| --- a/Source/core/xml/XPathPredicate.h
|
| +++ b/Source/core/xml/XPathPredicate.h
|
| @@ -37,7 +37,7 @@ namespace XPath {
|
| class Number final : public Expression {
|
| public:
|
| explicit Number(double);
|
| - virtual void trace(Visitor*) override;
|
| + DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| virtual Value evaluate(EvaluationContext&) const override;
|
| @@ -49,7 +49,7 @@ private:
|
| class StringExpression final : public Expression {
|
| public:
|
| explicit StringExpression(const String&);
|
| - virtual void trace(Visitor*) override;
|
| + DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| virtual Value evaluate(EvaluationContext&) const override;
|
| @@ -115,7 +115,7 @@ class Predicate final : public NoBaseWillBeGarbageCollected<Predicate> {
|
| DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(Predicate);
|
| public:
|
| explicit Predicate(PassOwnPtrWillBeRawPtr<Expression>);
|
| - void trace(Visitor*);
|
| + DECLARE_TRACE();
|
|
|
| bool evaluate(EvaluationContext&) const;
|
| bool isContextPositionSensitive() const { return m_expr->isContextPositionSensitive() || m_expr->resultType() == Value::NumberValue; }
|
|
|