| Index: third_party/WebKit/Source/core/xml/XPathPredicate.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/XPathPredicate.cpp b/third_party/WebKit/Source/core/xml/XPathPredicate.cpp
|
| index 55b27b89c320f6541b7c52161d3997050943ef81..0b8137b66321d539f69daa8662538e6eb3090567 100644
|
| --- a/third_party/WebKit/Source/core/xml/XPathPredicate.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/XPathPredicate.cpp
|
| @@ -240,10 +240,10 @@ Value Union::evaluate(EvaluationContext& context) const {
|
|
|
| HeapHashSet<Member<Node>> nodes;
|
| for (const auto& node : resultSet)
|
| - nodes.add(node);
|
| + nodes.insert(node);
|
|
|
| for (const auto& node : rhsNodes) {
|
| - if (nodes.add(node).isNewEntry)
|
| + if (nodes.insert(node).isNewEntry)
|
| resultSet.append(node);
|
| }
|
|
|
|
|