| Index: third_party/WebKit/Source/core/xml/XPathFunctions.cpp
|
| diff --git a/third_party/WebKit/Source/core/xml/XPathFunctions.cpp b/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
|
| index aae17d9aabdf42ddc5db8ad78a99b8e095eb5b1f..e4cfea2e4d507bc3ea26d79950e95157038ff5fa 100644
|
| --- a/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
|
| @@ -364,7 +364,7 @@ Value FunId::evaluate(EvaluationContext& context) const {
|
| // this case is formally undefined.
|
| Node* node = contextScope.getElementById(
|
| AtomicString(idList.substring(startPos, endPos - startPos)));
|
| - if (node && resultSet.add(node).isNewEntry)
|
| + if (node && resultSet.insert(node).isNewEntry)
|
| result->append(node);
|
|
|
| startPos = endPos;
|
|
|