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
Родитель c80eaa53c3
Коммит 144ebf6115
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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)