Index: Source/wtf/ListHashSet.h |
diff --git a/Source/wtf/ListHashSet.h b/Source/wtf/ListHashSet.h |
index f1624dc359e89877301233181e522c994fe237fd..c41e73bb2e32ffe2ac713fd508708682f896278c 100644 |
--- a/Source/wtf/ListHashSet.h |
+++ b/Source/wtf/ListHashSet.h |
@@ -156,6 +156,8 @@ namespace WTF { |
void remove(ValuePeekInType); |
void remove(iterator); |
void clear(); |
+ template<typename Collection> |
+ void removeAll(const Collection& other) { WTF::removeAll(*this, other); } |
private: |
void unlink(Node*); |