| Index: Source/core/xml/XPathPath.h
|
| diff --git a/Source/core/xml/XPathPath.h b/Source/core/xml/XPathPath.h
|
| index 2b18e8be48eaf7c547a27db35009960c3ae73ae8..b3b9c06dcc4938a1c47835d81bd5f1bf33ad0c4c 100644
|
| --- a/Source/core/xml/XPathPath.h
|
| +++ b/Source/core/xml/XPathPath.h
|
| @@ -39,7 +39,7 @@ namespace WebCore {
|
|
|
| class Filter : public Expression {
|
| public:
|
| - Filter(Expression*, const Vector<Predicate*>& = Vector<Predicate*>());
|
| + Filter(PassOwnPtr<Expression>, const Vector<Predicate*>& = Vector<Predicate*>());
|
| virtual ~Filter();
|
|
|
| virtual Value evaluate() const;
|
| @@ -47,8 +47,8 @@ namespace WebCore {
|
| private:
|
| virtual Value::Type resultType() const { return Value::NodeSetValue; }
|
|
|
| - Expression* m_expr;
|
| - Vector<Predicate*> m_predicates;
|
| + OwnPtr<Expression> m_expr;
|
| + Vector<OwnPtr<Predicate> > m_predicates;
|
| };
|
|
|
| class LocationPath : public Expression {
|
|
|