| Index: Source/core/xml/XPathNodeSet.cpp
|
| diff --git a/Source/core/xml/XPathNodeSet.cpp b/Source/core/xml/XPathNodeSet.cpp
|
| index 44ee351ceb57b51d9226cb77a2c3a06273cf56ce..cfb758645b2939bd92753f85ff700aa390293ade 100644
|
| --- a/Source/core/xml/XPathNodeSet.cpp
|
| +++ b/Source/core/xml/XPathNodeSet.cpp
|
| @@ -237,9 +237,9 @@ void NodeSet::traversalSort() const
|
| if (!element->hasAttributes())
|
| continue;
|
|
|
| - AttributeIteratorAccessor attributes = element->attributesIterator();
|
| - AttributeConstIterator end = attributes.end();
|
| - for (AttributeConstIterator it = attributes.begin(); it != end; ++it) {
|
| + AttributeCollection attributes = element->attributes();
|
| + AttributeCollection::const_iterator end = attributes.end();
|
| + for (AttributeCollection::const_iterator it = attributes.begin(); it != end; ++it) {
|
| RefPtrWillBeRawPtr<Attr> attr = element->attrIfExists(it->name());
|
| if (attr && nodes.contains(attr.get()))
|
| sortedNodes.append(attr);
|
|
|