static void HTMLStyleElement_destructor(HTMLDOMNode *iface) { HTMLStyleElement *This = impl_from_HTMLDOMNode(iface); if(This->nsstyle) nsIDOMHTMLStyleElement_Release(This->nsstyle); HTMLElement_destructor(&This->element.node); }
static void HTMLStyleElement_unlink(HTMLDOMNode *iface) { HTMLStyleElement *This = impl_from_HTMLDOMNode(iface); if(This->nsstyle) { nsIDOMHTMLStyleElement *nsstyle = This->nsstyle; This->nsstyle = NULL; nsIDOMHTMLStyleElement_Release(nsstyle); } }