diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/dom/NameNodeList.cpp | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/dom/NameNodeList.cpp')
-rw-r--r-- | Source/WebCore/dom/NameNodeList.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/WebCore/dom/NameNodeList.cpp b/Source/WebCore/dom/NameNodeList.cpp index e26abac46..889188941 100644 --- a/Source/WebCore/dom/NameNodeList.cpp +++ b/Source/WebCore/dom/NameNodeList.cpp @@ -2,7 +2,7 @@ * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) - * Copyright (C) 2004, 2007 Apple Inc. All rights reserved. + * Copyright (C) 2004, 2007, 2014 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -30,7 +30,7 @@ namespace WebCore { using namespace HTMLNames; NameNodeList::NameNodeList(ContainerNode& rootNode, const AtomicString& name) - : LiveNodeList(rootNode, NameNodeListType, InvalidateOnNameAttrChange) + : CachedLiveNodeList(rootNode, InvalidateOnNameAttrChange) , m_name(name) { } @@ -40,9 +40,4 @@ NameNodeList::~NameNodeList() ownerNode().nodeLists()->removeCacheWithAtomicName(this, m_name); } -bool NameNodeList::nodeMatches(Element* testNode) const -{ - return testNode->getNameAttribute() == m_name; -} - } // namespace WebCore |