Back out bug 1067505 for some kind of make package failure.

This commit is contained in:
Andrew McCreight 2014-09-19 10:31:53 -07:00
parent a2379a555b
commit 9b53fab543

View File

@ -469,11 +469,13 @@ nsCategoryManager::nsCategoryManager()
void
nsCategoryManager::InitMemoryReporter()
{
RegisterStrongMemoryReporter(this);
RegisterWeakMemoryReporter(this);
}
nsCategoryManager::~nsCategoryManager()
{
UnregisterWeakMemoryReporter(this);
// the hashtable contains entries that must be deleted before the arena is
// destroyed, or else you will have PRLocks undestroyed and other Really
// Bad Stuff (TM)