| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index 8405032c9a56d61cf0ee5e2bb778eb28d19a4188..eabd34387ff487727d7b9394da978b44c2cd7904 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -1278,14 +1278,14 @@ PassRefPtr<NodeList> Node::getElementsByTagNameNS(const AtomicString& namespaceU
|
| return ensureRareData().ensureNodeLists().addCacheWithQualifiedName(this, namespaceURI.isEmpty() ? nullAtom : namespaceURI, localName);
|
| }
|
|
|
| -PassRefPtr<NodeList> Node::getElementsByName(const String& elementName)
|
| +PassRefPtr<NodeList> Node::getElementsByName(const AtomicString& elementName)
|
| {
|
| return ensureRareData().ensureNodeLists().addCacheWithAtomicName<NameNodeList>(this, NameNodeListType, elementName);
|
| }
|
|
|
| -PassRefPtr<NodeList> Node::getElementsByClassName(const String& classNames)
|
| +PassRefPtr<NodeList> Node::getElementsByClassName(const AtomicString& classNames)
|
| {
|
| - return ensureRareData().ensureNodeLists().addCacheWithName<ClassNodeList>(this, ClassNodeListType, classNames);
|
| + return ensureRareData().ensureNodeLists().addCacheWithAtomicName<ClassNodeList>(this, ClassNodeListType, classNames);
|
| }
|
|
|
| PassRefPtr<RadioNodeList> Node::radioNodeList(const AtomicString& name)
|
|
|