Chromium Code Reviews| Index: Source/core/xml/XPathFunctions.h |
| diff --git a/Source/core/xml/XPathFunctions.h b/Source/core/xml/XPathFunctions.h |
| index 0482884374c13345cd635c32592571a9c0f6d1a6..1e2ee4de5bfc100bd61804439957ab04d7fd7db2 100644 |
| --- a/Source/core/xml/XPathFunctions.h |
| +++ b/Source/core/xml/XPathFunctions.h |
| @@ -35,7 +35,7 @@ namespace WebCore { |
| class Function : public Expression { |
| public: |
| - void setArguments(const Vector<Expression*>&); |
| + void setArguments(Vector<OwnPtr<Expression> >&); |
| void setName(const String& name) { m_name = name; } |
| protected: |
| Expression* arg(int pos) { return subExpr(pos); } |
| @@ -47,7 +47,8 @@ namespace WebCore { |
| String m_name; |
| }; |
| - Function* createFunction(const String& name, const Vector<Expression*>& args = Vector<Expression*>()); |
|
dshwang
2013/10/14 15:56:04
Currently, Vector has a bug as follows
Vector<OwnP
|
| + Function* createFunction(const String& name); |
| + Function* createFunction(const String& name, Vector<OwnPtr<Expression> >&); |
| } // namespace XPath |