Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1163)

Unified Diff: Source/core/xml/XPathExpression.h

Issue 698923002: Enable Oilpan for core/xml/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Non-Oilpan fixes Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/xml/XPathEvaluator.idl ('k') | Source/core/xml/XPathExpression.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathExpression.h
diff --git a/Source/core/xml/XPathExpression.h b/Source/core/xml/XPathExpression.h
index f33e1458b1ae89631d19165dd14419650e5cf628..dc6dd694caf847bad9e963cc06eb1b2ea5dfe405 100644
--- a/Source/core/xml/XPathExpression.h
+++ b/Source/core/xml/XPathExpression.h
@@ -44,24 +44,23 @@ namespace XPath {
class Expression;
}
-class XPathExpression : public RefCountedWillBeGarbageCollected<XPathExpression>, public ScriptWrappable {
- DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(XPathExpression);
+class XPathExpression : public GarbageCollected<XPathExpression>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<XPathExpression> create()
+ static XPathExpression* create()
{
- return adoptRefWillBeNoop(new XPathExpression);
+ return new XPathExpression;
}
- static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&);
- PassRefPtrWillBeRawPtr<XPathResult> evaluate(Node* contextNode, unsigned short type, XPathResult*, ExceptionState&);
+ static XPathExpression* createExpression(const String& expression, XPathNSResolver*, ExceptionState&);
+ XPathResult* evaluate(Node* contextNode, unsigned short type, XPathResult*, ExceptionState&);
void trace(Visitor*);
private:
XPathExpression();
- OwnPtrWillBeMember<XPath::Expression> m_topExpression;
+ Member<XPath::Expression> m_topExpression;
};
} // namespace blink
« no previous file with comments | « Source/core/xml/XPathEvaluator.idl ('k') | Source/core/xml/XPathExpression.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698