| Index: Source/core/dom/LiveNodeList.h
|
| diff --git a/Source/core/dom/LiveNodeList.h b/Source/core/dom/LiveNodeList.h
|
| index c819db15357c6957c22186643753ead2a5cd6fce..46e03a3150802a805e597a1afa824840aec6334f 100644
|
| --- a/Source/core/dom/LiveNodeList.h
|
| +++ b/Source/core/dom/LiveNodeList.h
|
| @@ -28,6 +28,7 @@
|
| #include "core/dom/NodeList.h"
|
| #include "core/html/CollectionIndexCache.h"
|
| #include "core/html/CollectionType.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/PassRefPtr.h"
|
|
|
| namespace WebCore {
|
| @@ -35,11 +36,10 @@ namespace WebCore {
|
| class Element;
|
|
|
| class LiveNodeList : public NodeList, public LiveNodeListBase {
|
| + WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LiveNodeList);
|
| public:
|
| LiveNodeList(ContainerNode& ownerNode, CollectionType collectionType, NodeListInvalidationType invalidationType, NodeListRootType rootType = NodeListIsRootedAtNode)
|
| - : LiveNodeListBase(ownerNode, rootType, invalidationType,
|
| - collectionType)
|
| - { }
|
| + : LiveNodeListBase(ownerNode, rootType, invalidationType, collectionType) { }
|
|
|
| virtual unsigned length() const OVERRIDE FINAL { return m_collectionIndexCache.nodeCount(*this); }
|
| virtual Node* item(unsigned offset) const OVERRIDE FINAL { return m_collectionIndexCache.nodeAt(*this, offset); }
|
| @@ -57,6 +57,8 @@ public:
|
| Element* traverseForwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) const;
|
| Element* traverseBackwardToOffset(unsigned offset, Element& currentNode, unsigned& currentOffset) const;
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| virtual Node* virtualOwnerNode() const OVERRIDE FINAL;
|
|
|
|
|