From 9a66affd7f07e7d77a1c6615997c147d9db6eb34 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Wed, 5 Jul 2017 02:01:45 +0200 Subject: [PATCH] Bug 1376498 part 5 - Remove nsClassHashtable::RemoveAndForget(). r=froydnj MozReview-Commit-ID: 2VVgViNhruj --- xpcom/ds/nsClassHashtable.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xpcom/ds/nsClassHashtable.h b/xpcom/ds/nsClassHashtable.h index d966aa542687..94650b078d93 100644 --- a/xpcom/ds/nsClassHashtable.h +++ b/xpcom/ds/nsClassHashtable.h @@ -56,11 +56,6 @@ public: * @returns nullptr if the key is not present. */ UserDataType Get(KeyType aKey) const; - - // obsolete - will be removed after converting existing consumers to Remove. - void RemoveAndForget(KeyType aKey, nsAutoPtr& aOut) { - Remove(aKey, &aOut); - } }; //