Bug 1028148, part 2 - SharedMemory does not need COUNT_CTOR/DTOR any more. r=bent

This commit is contained in:
Andrew McCreight 2014-07-28 09:56:55 -07:00
parent 0ea7a4db6a
commit d5f17caca4
2 changed files with 0 additions and 2 deletions

View File

@ -51,7 +51,6 @@ SharedMemory::SharedMemory()
: mAllocSize(0)
, mMappedSize(0)
{
MOZ_COUNT_CTOR(SharedMemory);
static Atomic<bool> registered;
if (registered.compareExchange(false, true)) {
RegisterStrongMemoryReporter(new ShmemReporter());

View File

@ -37,7 +37,6 @@ class SharedMemory
protected:
virtual ~SharedMemory()
{
MOZ_COUNT_DTOR(SharedMemory);
Unmapped();
Destroyed();
}