Index: Source/core/dom/LiveNodeList.h |
diff --git a/Source/core/dom/LiveNodeList.h b/Source/core/dom/LiveNodeList.h |
index 4e602d9010efde30193bcf68724a0eef0f368e2c..1fc7204f7a0375f3c1a7a2b9f2a379490aab679f 100644 |
--- a/Source/core/dom/LiveNodeList.h |
+++ b/Source/core/dom/LiveNodeList.h |
@@ -48,7 +48,7 @@ public: |
DoesNotOverrideItemAfter, |
}; |
- LiveNodeListBase(Node* ownerNode, NodeListRootType rootType, NodeListInvalidationType invalidationType, |
+ LiveNodeListBase(const Handle<Node>& ownerNode, NodeListRootType rootType, NodeListInvalidationType invalidationType, |
bool shouldOnlyIncludeDirectChildren, CollectionType collectionType, ItemAfterOverrideType itemAfterOverrideType) |
: m_ownerNode(ownerNode) |
, m_cachedItem(0) |
@@ -190,8 +190,8 @@ ALWAYS_INLINE bool LiveNodeListBase::shouldInvalidateTypeOnAttributeChange(NodeL |
class LiveNodeList : public LiveNodeListBase { |
public: |
- LiveNodeList(PassRefPtr<Node> ownerNode, CollectionType collectionType, NodeListInvalidationType invalidationType, NodeListRootType rootType = NodeListIsRootedAtNode) |
- : LiveNodeListBase(ownerNode.get(), rootType, invalidationType, collectionType == ChildNodeListType, |
+ LiveNodeList(const Handle<Node>& ownerNode, CollectionType collectionType, NodeListInvalidationType invalidationType, NodeListRootType rootType = NodeListIsRootedAtNode) |
+ : LiveNodeListBase(ownerNode, rootType, invalidationType, collectionType == ChildNodeListType, |
collectionType, DoesNotOverrideItemAfter) |
{ } |