| Index: Source/core/dom/StaticNodeList.cpp
|
| diff --git a/Source/core/dom/StaticNodeList.cpp b/Source/core/dom/StaticNodeList.cpp
|
| index 10f4b281435a3e49384e2b664f5b2cf438cb5587..d9bf28e1f5b79c2b34f86d8b8b2268616c95d605 100644
|
| --- a/Source/core/dom/StaticNodeList.cpp
|
| +++ b/Source/core/dom/StaticNodeList.cpp
|
| @@ -45,16 +45,4 @@ Node* StaticNodeList::item(unsigned index) const
|
| return 0;
|
| }
|
|
|
| -Node* StaticNodeList::namedItem(const AtomicString& elementId) const
|
| -{
|
| - size_t length = m_nodes.size();
|
| - for (size_t i = 0; i < length; ++i) {
|
| - Node* node = m_nodes[i].get();
|
| - if (node->isElementNode() && toElement(node)->getIdAttribute() == elementId)
|
| - return node;
|
| - }
|
| -
|
| - return 0;
|
| -}
|
| -
|
| } // namespace WebCore
|
|
|