PRInt32 Release() { NS_PRECONDITION(mRefCnt > 0, "bad refcnt"); PRInt32 refcnt = --mRefCnt; if (refcnt == 0) delete this; return refcnt; }
NS_IMPL_ISUPPORTS2(nsXULTemplateBuilder, nsIRDFContentModelBuilder, nsIRDFObserver);
    PRInt32 Release() {        NS_PRECONDITION(mRefCnt > 0, "bad refcnt");        PRInt32 refcnt = --mRefCnt;        if (refcnt == 0) delete this;        return refcnt; }