| Index: Source/core/dom/NodeList.cpp
|
| diff --git a/Source/core/dom/NodeList.cpp b/Source/core/dom/NodeList.cpp
|
| index fb06c70817bff7406297e671ca5dd5f5ff7f29e6..2666ba44f2d08c2ea56a4e6d30e2336600345481 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/LiveNodeList.h"
|
| #include "core/dom/Node.h"
|
|
|
| namespace WebCore {
|
| @@ -53,5 +54,12 @@ void NodeList::anonymousNamedGetter(const AtomicString& name, bool& returnValue0
|
| returnValue0 = result;
|
| }
|
|
|
| +Node* NodeList::ownerNode() const
|
| +{
|
| + if (isLiveNodeList())
|
| + return static_cast<const LiveNodeList*>(this)->ownerNode();
|
| + return 0;
|
| +}
|
| +
|
|
|
| } // namespace WebCore
|
|
|