Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -318,15 +318,19 @@ public:
|
||||
} mHash;
|
||||
};
|
||||
|
||||
MOZ_DECL_CTOR_COUNTER(AttributeKey);
|
||||
|
||||
AttributeKey::AttributeKey(nsIHTMLMappedAttributes* aAttributes)
|
||||
: mAttributes(aAttributes)
|
||||
{
|
||||
MOZ_COUNT_CTOR(AttributeKey);
|
||||
NS_ADDREF(mAttributes);
|
||||
mHash.mInitializer = 0;
|
||||
}
|
||||
|
||||
AttributeKey::~AttributeKey(void)
|
||||
{
|
||||
MOZ_COUNT_DTOR(AttributeKey);
|
||||
NS_RELEASE(mAttributes);
|
||||
}
|
||||
|
||||
@@ -504,8 +508,6 @@ void HTMLStyleSheetImpl::operator delete(void* ptr)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
HTMLStyleSheetImpl::HTMLStyleSheetImpl(void)
|
||||
: nsIHTMLStyleSheet(),
|
||||
mURL(nsnull),
|
||||
|
||||
Reference in New Issue
Block a user