Bug 669721 - Annotate xpc::CompartmentPrivate for trace-refcnt. r=mrbkap

This commit is contained in:
Jesse Ruderman 2011-07-06 14:53:46 -07:00
parent 740b9b2109
commit aa197ffcd7
2 changed files with 3 additions and 0 deletions

View File

@ -248,6 +248,7 @@ xpc::CompartmentPrivate::~CompartmentPrivate()
{
delete waiverWrapperMap;
delete expandoMap;
MOZ_COUNT_DTOR(xpc::CompartmentPrivate);
}
static JSBool

View File

@ -4393,6 +4393,7 @@ struct CompartmentPrivate
waiverWrapperMap(nsnull),
expandoMap(nsnull)
{
MOZ_COUNT_CTOR(xpc::CompartmentPrivate);
}
CompartmentPrivate(nsISupports *ptr, bool wantXrays, bool cycleCollectionEnabled)
@ -4403,6 +4404,7 @@ struct CompartmentPrivate
waiverWrapperMap(nsnull),
expandoMap(nsnull)
{
MOZ_COUNT_CTOR(xpc::CompartmentPrivate);
}
~CompartmentPrivate();