Index: Source/wtf/HashMap.h |
diff --git a/Source/wtf/HashMap.h b/Source/wtf/HashMap.h |
index dd15c3d4f308ad1440dd113f8f66fcfa3ed81a32..5c2d366f4098cc3405e6dadc7c884af04965a7b0 100644 |
--- a/Source/wtf/HashMap.h |
+++ b/Source/wtf/HashMap.h |
@@ -126,6 +126,8 @@ namespace WTF { |
void remove(KeyPeekInType); |
void remove(iterator); |
void clear(); |
+ template<typename Collection> |
+ void removeAll(const Collection& toBeRemoved) { WTF::removeAll(*this, toBeRemoved); } |
MappedPassOutType take(KeyPeekInType); // efficient combination of get with remove |