Issue #2678 - Use a new macro for CC isupports in some locations.

There are many more places that could be converted to use these new macros.
If anyone feels so inclined... ;)
This commit is contained in:
Moonchild 2025-01-17 15:42:41 +01:00 committed by roytam1
commit c37e68d59f
5 changed files with 22 additions and 50 deletions

View file

@ -27,26 +27,14 @@ HTMLAreaElement::~HTMLAreaElement()
{
}
NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLAreaElement)
NS_INTERFACE_TABLE_INHERITED(HTMLAreaElement,
nsIDOMHTMLAreaElement,
Link)
NS_INTERFACE_TABLE_TAIL_INHERITING(nsGenericHTMLElement)
NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED(HTMLAreaElement,
nsGenericHTMLElement,
nsIDOMHTMLAreaElement,
Link)
NS_IMPL_ADDREF_INHERITED(HTMLAreaElement, Element)
NS_IMPL_RELEASE_INHERITED(HTMLAreaElement, Element)
NS_IMPL_CYCLE_COLLECTION_CLASS(HTMLAreaElement)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(HTMLAreaElement,
nsGenericHTMLElement)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mRelList)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(HTMLAreaElement,
nsGenericHTMLElement)
NS_IMPL_CYCLE_COLLECTION_UNLINK(mRelList)
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
NS_IMPL_CYCLE_COLLECTION_INHERITED(HTMLAreaElement,
nsGenericHTMLElement,
mRelList)
NS_IMPL_ELEMENT_CLONE(HTMLAreaElement)