| Index: Source/core/dom/LiveNodeList.cpp
|
| diff --git a/Source/core/dom/LiveNodeList.cpp b/Source/core/dom/LiveNodeList.cpp
|
| index 90aa044bd9c6e1f06aa3a666237b4a87ccd50455..398fd59e26434eb3dad98082d29b42457564d8d1 100644
|
| --- a/Source/core/dom/LiveNodeList.cpp
|
| +++ b/Source/core/dom/LiveNodeList.cpp
|
| @@ -28,21 +28,13 @@
|
|
|
| namespace WebCore {
|
|
|
| -Node& LiveNodeListBase::rootNode() const
|
| +ContainerNode& LiveNodeListBase::rootNode() const
|
| {
|
| if (isRootedAtDocument() && m_ownerNode->inDocument())
|
| return m_ownerNode->document();
|
| return *m_ownerNode;
|
| }
|
|
|
| -ContainerNode* LiveNodeListBase::rootContainerNode() const
|
| -{
|
| - Node& rootNode = this->rootNode();
|
| - if (!rootNode.isContainerNode())
|
| - return 0;
|
| - return toContainerNode(&rootNode);
|
| -}
|
| -
|
| void LiveNodeListBase::invalidateCache() const
|
| {
|
| m_cachedItem = 0;
|
|
|