| Index: Source/core/xml/XPathNodeSet.cpp
|
| diff --git a/Source/core/xml/XPathNodeSet.cpp b/Source/core/xml/XPathNodeSet.cpp
|
| index 9a5aa0ec966a49d6d90975e301875dc99e64e049..33b619180fb10ab9e869343e7a539ece706e4b25 100644
|
| --- a/Source/core/xml/XPathNodeSet.cpp
|
| +++ b/Source/core/xml/XPathNodeSet.cpp
|
| @@ -234,9 +234,6 @@ void NodeSet::traversalSort() const
|
| continue;
|
|
|
| Element* element = toElement(n);
|
| - if (!element->hasAttributes())
|
| - continue;
|
| -
|
| AttributeCollection attributes = element->attributes();
|
| AttributeCollection::const_iterator end = attributes.end();
|
| for (AttributeCollection::const_iterator it = attributes.begin(); it != end; ++it) {
|
|
|