| 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 e0995346c85944a945e2234e7d8c649c45ea89a2..f2f56c0e16aee1aeb1916748066ec2599de4031d 100644
|
| --- a/third_party/WebKit/Source/core/xml/XPathNodeSet.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/XPathNodeSet.cpp
|
| @@ -127,7 +127,8 @@ static void sortBlock(unsigned from,
|
| // each group.
|
| HeapHashSet<Member<Node>> parentNodes;
|
| for (unsigned i = from; i < to; ++i)
|
| - parentNodes.add(parentWithDepth(commonAncestorDepth + 1, parentMatrix[i]));
|
| + parentNodes.insert(
|
| + parentWithDepth(commonAncestorDepth + 1, parentMatrix[i]));
|
|
|
| unsigned previousGroupEnd = from;
|
| unsigned groupEnd = from;
|
| @@ -217,7 +218,7 @@ void NodeSet::traversalSort() const {
|
| DCHECK_GT(nodeCount, 1u);
|
| for (unsigned i = 0; i < nodeCount; ++i) {
|
| Node* node = m_nodes[i].get();
|
| - nodes.add(node);
|
| + nodes.insert(node);
|
| if (node->isAttributeNode())
|
| containsAttributeNodes = true;
|
| }
|
|
|