| Index: Source/core/dom/EmptyNodeList.h
|
| diff --git a/Source/core/dom/EmptyNodeList.h b/Source/core/dom/EmptyNodeList.h
|
| index 16552647ea7a56d8191354e54bcaeed1985681db..fd7c5a60b6c6cd217ebe88662cf78a4ef6d56e60 100644
|
| --- a/Source/core/dom/EmptyNodeList.h
|
| +++ b/Source/core/dom/EmptyNodeList.h
|
| @@ -39,9 +39,8 @@ namespace WebCore {
|
|
|
| class EmptyNodeList FINAL : public NodeList {
|
| public:
|
| - static PassRefPtr<EmptyNodeList> create(Node* rootNode)
|
| + static PassRefPtr<EmptyNodeList> create(Node& rootNode)
|
| {
|
| - ASSERT(rootNode);
|
| return adoptRef(new EmptyNodeList(rootNode));
|
| }
|
| virtual ~EmptyNodeList();
|
| @@ -49,7 +48,7 @@ public:
|
| Node& ownerNode() const { return *m_owner; }
|
|
|
| private:
|
| - explicit EmptyNodeList(Node* rootNode) : m_owner(rootNode) { }
|
| + explicit EmptyNodeList(Node& rootNode) : m_owner(rootNode) { }
|
|
|
| virtual unsigned length() const OVERRIDE { return 0; }
|
| virtual Node* item(unsigned) const OVERRIDE { return 0; }
|
|
|