Skip to content

Commit

Permalink
Bug 1028148, part 2 - SharedMemory does not need COUNT_CTOR/DTOR any …
Browse files Browse the repository at this point in the history
…more. r=bent
  • Loading branch information
amccreight committed Jul 28, 2014
1 parent 63d2dc9 commit f2371bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ipc/glue/SharedMemory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
1 change: 0 additions & 1 deletion ipc/glue/SharedMemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class SharedMemory
protected:
virtual ~SharedMemory()
{
MOZ_COUNT_DTOR(SharedMemory);
Unmapped();
Destroyed();
}
Expand Down

0 comments on commit f2371bd

Please sign in to comment.