| Index: third_party/WebKit/Source/wtf/ListHashSet.h
|
| diff --git a/third_party/WebKit/Source/wtf/ListHashSet.h b/third_party/WebKit/Source/wtf/ListHashSet.h
|
| index b3676a477f88693621c7d9f55a4198b3e26009e6..872934492219a62fdfc0fb8844d366ac2a25be95 100644
|
| --- a/third_party/WebKit/Source/wtf/ListHashSet.h
|
| +++ b/third_party/WebKit/Source/wtf/ListHashSet.h
|
| @@ -189,6 +189,8 @@ class ListHashSet
|
| // bool that is true if an new entry was added.
|
| template <typename IncomingValueType>
|
| AddResult add(IncomingValueType&&);
|
| + template <typename IncomingValueType>
|
| + AddResult insert(IncomingValueType&&);
|
|
|
| // Same as add() except that the return value is an iterator. Useful in
|
| // cases where it's needed to have the same return value as find() and where
|
| @@ -931,6 +933,13 @@ ListHashSet<T, inlineCapacity, U, V>::add(IncomingValueType&& value) {
|
|
|
| template <typename T, size_t inlineCapacity, typename U, typename V>
|
| template <typename IncomingValueType>
|
| +typename ListHashSet<T, inlineCapacity, U, V>::AddResult
|
| +ListHashSet<T, inlineCapacity, U, V>::insert(IncomingValueType&& value) {
|
| + return add(value);
|
| +}
|
| +
|
| +template <typename T, size_t inlineCapacity, typename U, typename V>
|
| +template <typename IncomingValueType>
|
| typename ListHashSet<T, inlineCapacity, U, V>::iterator
|
| ListHashSet<T, inlineCapacity, U, V>::addReturnIterator(
|
| IncomingValueType&& value) {
|
|
|