Iterator doomed = Find(*aMatch); if (doomed != Last()) Erase(doomed);
PL_HashTableRemove(mMap, aElement);  PRInt32 count;     nsCOMPtr<nsIXULContent> xulcontent = do_QueryInterface(aElement); if (xulcontent) { xulcontent->PeekChildCount(count); } else { aElement->ChildCount(count); }  for (PRInt32 i = 0; i < count; ++i) { nsCOMPtr<nsIContent> child; aElement->ChildAt(i, *getter_AddRefs(child));  Remove(child); }  return NS_OK;
MatchSet::Remove(Match* aMatch){    Iterator doomed = Find(*aMatch);    if (doomed != Last())        Erase(doomed);}