Index: Source/core/dom/ClassNodeList.cpp |
diff --git a/Source/core/dom/ClassNodeList.cpp b/Source/core/dom/ClassNodeList.cpp |
index 262bc582c01b5547c126214a1ea754fd818221f3..d980c7998172c7186cb0b6ebacb38a5c3c867564 100644 |
--- a/Source/core/dom/ClassNodeList.cpp |
+++ b/Source/core/dom/ClassNodeList.cpp |
@@ -47,7 +47,7 @@ ClassNodeList::~ClassNodeList() |
ownerNode()->nodeLists()->removeCacheWithAtomicName(this, ClassNodeListType, m_originalClassNames); |
} |
-bool ClassNodeList::nodeMatches(Element* testNode) const |
+bool ClassNodeList::nodeMatches(const Element& testNode) const |
{ |
return nodeMatchesInlined(testNode); |
} |