| Index: Source/core/html/LabelsNodeList.cpp
|
| diff --git a/Source/core/html/LabelsNodeList.cpp b/Source/core/html/LabelsNodeList.cpp
|
| index 1dba7dc762d9cf8cd1b6c86ac349ce6d85ffe163..e1785422745696ec496b2f08227074d0535a2f9f 100644
|
| --- a/Source/core/html/LabelsNodeList.cpp
|
| +++ b/Source/core/html/LabelsNodeList.cpp
|
| @@ -43,9 +43,9 @@ LabelsNodeList::~LabelsNodeList()
|
| ownerNode().nodeLists()->removeCache(this, LabelsNodeListType);
|
| }
|
|
|
| -bool LabelsNodeList::nodeMatches(const Element& testNode) const
|
| +bool LabelsNodeList::elementMatches(const Element& element) const
|
| {
|
| - return testNode.hasTagName(labelTag) && toHTMLLabelElement(testNode).control() == ownerNode();
|
| + return element.hasTagName(labelTag) && toHTMLLabelElement(element).control() == ownerNode();
|
| }
|
|
|
| } // namespace WebCore
|
|
|