mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1028148, part 2 - SharedMemory does not need COUNT_CTOR/DTOR any more. r=bent
This commit is contained in:
parent
0ea7a4db6a
commit
d5f17caca4
@ -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());
|
||||
|
@ -37,7 +37,6 @@ class SharedMemory
|
||||
protected:
|
||||
virtual ~SharedMemory()
|
||||
{
|
||||
MOZ_COUNT_DTOR(SharedMemory);
|
||||
Unmapped();
|
||||
Destroyed();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user