| 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(); }
|
|
|