Index: Source/core/dom/LiveNodeListBase.h |
diff --git a/Source/core/dom/LiveNodeListBase.h b/Source/core/dom/LiveNodeListBase.h |
index 0170f85cf9336c4ca7c31ea79fef2840b88d976a..ecc1730cac35ff56d25909390b1e81df512e991e 100644 |
--- a/Source/core/dom/LiveNodeListBase.h |
+++ b/Source/core/dom/LiveNodeListBase.h |
@@ -41,14 +41,13 @@ enum NodeListRootType { |
class LiveNodeListBase { |
public: |
- LiveNodeListBase(ContainerNode* ownerNode, NodeListRootType rootType, NodeListInvalidationType invalidationType, |
+ LiveNodeListBase(ContainerNode& ownerNode, NodeListRootType rootType, NodeListInvalidationType invalidationType, |
CollectionType collectionType) |
: m_ownerNode(ownerNode) |
, m_rootType(rootType) |
, m_invalidationType(invalidationType) |
, m_collectionType(collectionType) |
{ |
- ASSERT(m_ownerNode); |
ASSERT(m_rootType == static_cast<unsigned>(rootType)); |
ASSERT(m_invalidationType == static_cast<unsigned>(invalidationType)); |
ASSERT(m_collectionType == static_cast<unsigned>(collectionType)); |