| Index: third_party/WebKit/Source/core/xml/XPathNodeSet.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/XPathNodeSet.cpp b/third_party/WebKit/Source/core/xml/XPathNodeSet.cpp
|
| index 05aa34a3a464b920f53eebb67777eb58c3d01426..2280112d9e30e3925f709a7f8733f4d959d187c5 100644
|
| --- a/third_party/WebKit/Source/core/xml/XPathNodeSet.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/XPathNodeSet.cpp
|
| @@ -225,7 +225,7 @@ void NodeSet::traversalSort() const {
|
| HeapVector<Member<Node>> sortedNodes;
|
| sortedNodes.reserveInitialCapacity(nodeCount);
|
|
|
| - for (Node& n : NodeTraversal::startsAt(*findRootNode(m_nodes.first()))) {
|
| + for (Node& n : NodeTraversal::startsAt(*findRootNode(m_nodes.front()))) {
|
| if (nodes.contains(&n))
|
| sortedNodes.append(&n);
|
|
|
|
|