Chromium Code Reviews| Index: Source/wtf/HashSet.h |
| diff --git a/Source/wtf/HashSet.h b/Source/wtf/HashSet.h |
| index 090f1cf589c60a5cfb82ec99c8b7ad30e8589f28..28f672742b0b24370589c8d67745dd0b0f941693 100644 |
| --- a/Source/wtf/HashSet.h |
| +++ b/Source/wtf/HashSet.h |
| @@ -99,6 +99,8 @@ namespace WTF { |
| void remove(ValuePeekInType); |
| void remove(iterator); |
| void clear(); |
| + template<typename Collection> |
| + void removeAll(const Collection& toBeRemoved) { WTF::removeAll(*this, toBeRemoved); } |
| static bool isValidValue(ValuePeekInType); |