| Index: Source/core/dom/NameNodeList.cpp
|
| diff --git a/Source/core/dom/NameNodeList.cpp b/Source/core/dom/NameNodeList.cpp
|
| index 69634c9f48a474418533f4b0399405c4fb8e5f42..490733f84077e07961f1b8e48843235f08a31e72 100644
|
| --- a/Source/core/dom/NameNodeList.cpp
|
| +++ b/Source/core/dom/NameNodeList.cpp
|
| @@ -42,9 +42,9 @@ NameNodeList::~NameNodeList()
|
| ownerNode()->nodeLists()->removeCacheWithAtomicName(this, NameNodeListType, m_name);
|
| }
|
|
|
| -bool NameNodeList::nodeMatches(Element* testNode) const
|
| +bool NameNodeList::nodeMatches(const Element& testNode) const
|
| {
|
| - return testNode->getNameAttribute() == m_name;
|
| + return testNode.getNameAttribute() == m_name;
|
| }
|
|
|
| } // namespace WebCore
|
|
|