| Index: Source/core/xml/XPathParser.h
|
| diff --git a/Source/core/xml/XPathParser.h b/Source/core/xml/XPathParser.h
|
| index e3f4cf05925b7664a6dc6a84a229143ee2895e5e..16d0fac05a7e61d2d69cfd015ddbaf56bb7dd017 100644
|
| --- a/Source/core/xml/XPathParser.h
|
| +++ b/Source/core/xml/XPathParser.h
|
| @@ -64,6 +64,8 @@ struct Token {
|
|
|
| class Parser {
|
| WTF_MAKE_NONCOPYABLE(Parser);
|
| + // FIXME: oilpan: This should be STACK_ALLOCATED.
|
| + DISALLOW_ALLOCATION();
|
| public:
|
| Parser();
|
| ~Parser();
|
| @@ -71,7 +73,7 @@ public:
|
| XPathNSResolver* resolver() const { return m_resolver.get(); }
|
| bool expandQName(const String& qName, AtomicString& localName, AtomicString& namespaceURI);
|
|
|
| - Expression* parseStatement(const String& statement, PassRefPtr<XPathNSResolver>, ExceptionState&);
|
| + Expression* parseStatement(const String& statement, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&);
|
|
|
| static Parser* current() { return currentParser; }
|
|
|
| @@ -120,7 +122,7 @@ private:
|
| unsigned m_nextPos;
|
| String m_data;
|
| int m_lastTokenType;
|
| - RefPtr<XPathNSResolver> m_resolver;
|
| + RefPtrWillBeRawPtr<XPathNSResolver> m_resolver;
|
|
|
| HashSet<ParseNode*> m_parseNodes;
|
| HashSet<Vector<OwnPtr<Predicate> >*> m_predicateVectors;
|
|
|