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

Unified Diff: Source/core/xml/XPathNodeSet.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/XPathNSResolver.idl ('k') | Source/core/xml/XPathNodeSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathNodeSet.h
diff --git a/Source/core/xml/XPathNodeSet.h b/Source/core/xml/XPathNodeSet.h
index 28b6ef63d94e8b1a464a8f68f910ae95b10c087b..2c4170c400c73de3914fc6deeca693519ea6aff9 100644
--- a/Source/core/xml/XPathNodeSet.h
+++ b/Source/core/xml/XPathNodeSet.h
@@ -34,12 +34,12 @@ namespace blink {
namespace XPath {
-class NodeSet : public NoBaseWillBeGarbageCollected<NodeSet> {
- WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
+// FIXME: Oilpan: drop Finalized once Node is on the heap.
+class NodeSet final : public GarbageCollectedFinalized<NodeSet> {
public:
- static PassOwnPtrWillBeRawPtr<NodeSet> create() { return adoptPtrWillBeNoop(new NodeSet); }
- static PassOwnPtrWillBeRawPtr<NodeSet> create(const NodeSet&);
- void trace(Visitor* visitor) { visitor->trace(m_nodes); }
+ static NodeSet* create() { return new NodeSet; }
+ static NodeSet* create(const NodeSet&);
+ void trace(Visitor*);
size_t size() const { return m_nodes.size(); }
bool isEmpty() const { return !m_nodes.size(); }
« no previous file with comments | « Source/core/xml/XPathNSResolver.idl ('k') | Source/core/xml/XPathNodeSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698