Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / dom / NamedNodesCollection.cpp
index fb6b772..0b1701c 100644 (file)
@@ -41,14 +41,4 @@ Node* NamedNodesCollection::item(unsigned index) const
     return 0;
 }
 
-Node* NamedNodesCollection::namedItem(const AtomicString& id) const
-{
-    for (unsigned i = 0; i < m_nodes.size(); ++i) {
-        Node* node = m_nodes[i].get();
-        if (node->hasID() && toElement(node)->getIdAttribute() == id)
-            return node;
-    }
-    return 0;
-}
-
 } // namespace WebCore