From d5f17caca4e0ca8b4199cddb59ca6a215817e29b Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Mon, 28 Jul 2014 09:56:55 -0700 Subject: [PATCH] Bug 1028148, part 2 - SharedMemory does not need COUNT_CTOR/DTOR any more. r=bent --- ipc/glue/SharedMemory.cpp | 1 - ipc/glue/SharedMemory.h | 1 - 2 files changed, 2 deletions(-) diff --git a/ipc/glue/SharedMemory.cpp b/ipc/glue/SharedMemory.cpp index 22bc5b11c51..76adaa64823 100644 --- a/ipc/glue/SharedMemory.cpp +++ b/ipc/glue/SharedMemory.cpp @@ -51,7 +51,6 @@ SharedMemory::SharedMemory() : mAllocSize(0) , mMappedSize(0) { - MOZ_COUNT_CTOR(SharedMemory); static Atomic registered; if (registered.compareExchange(false, true)) { RegisterStrongMemoryReporter(new ShmemReporter()); diff --git a/ipc/glue/SharedMemory.h b/ipc/glue/SharedMemory.h index af19637f7de..47cd200a2b2 100644 --- a/ipc/glue/SharedMemory.h +++ b/ipc/glue/SharedMemory.h @@ -37,7 +37,6 @@ class SharedMemory protected: virtual ~SharedMemory() { - MOZ_COUNT_DTOR(SharedMemory); Unmapped(); Destroyed(); }