| Index: Source/core/dom/EmptyNodeList.h
|
| diff --git a/Source/core/dom/EmptyNodeList.h b/Source/core/dom/EmptyNodeList.h
|
| index 06f895fac86e0471a8aa0f83a1590c90d28ce8af..f2760f1052bdfd74940c1badcd9399ff1f87fdff 100644
|
| --- a/Source/core/dom/EmptyNodeList.h
|
| +++ b/Source/core/dom/EmptyNodeList.h
|
| @@ -40,11 +40,12 @@ class EmptyNodeList FINAL : public NodeList {
|
| public:
|
| static PassRefPtr<EmptyNodeList> create(Node* rootNode)
|
| {
|
| + ASSERT(rootNode);
|
| return adoptRef(new EmptyNodeList(rootNode));
|
| }
|
| virtual ~EmptyNodeList();
|
|
|
| - Node* ownerNode() const { return m_owner.get(); }
|
| + Node& ownerNode() const { return *m_owner; }
|
|
|
| private:
|
| explicit EmptyNodeList(Node* rootNode) : m_owner(rootNode) { }
|
|
|