| Index: Source/core/dom/NodeList.cpp
|
| diff --git a/Source/core/dom/NodeList.cpp b/Source/core/dom/NodeList.cpp
|
| index 2666ba44f2d08c2ea56a4e6d30e2336600345481..71e54e607812caf06a63816d6782027b03fba1a5 100644
|
| --- a/Source/core/dom/NodeList.cpp
|
| +++ b/Source/core/dom/NodeList.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "config.h"
|
| #include "core/dom/NodeList.h"
|
|
|
| +#include "core/dom/ChildNodeList.h"
|
| #include "core/dom/LiveNodeList.h"
|
| #include "core/dom/Node.h"
|
|
|
| @@ -58,6 +59,8 @@ Node* NodeList::ownerNode() const
|
| {
|
| if (isLiveNodeList())
|
| return static_cast<const LiveNodeList*>(this)->ownerNode();
|
| + if (isEmptyNodeList())
|
| + return static_cast<const EmptyNodeList*>(this)->ownerNode();
|
| return 0;
|
| }
|
|
|
|
|