Fix XBL destructors. b=258832 r+sr=brendan

This commit is contained in:
dbaron%dbaron.org 2004-09-15 02:19:24 +00:00
parent 37931ee9fb
commit f6e45ec1cd

View File

@ -469,6 +469,7 @@ nsXBLContentSink::OnOpenContainer(const PRUnichar **aAtts,
}
}
else if (aTagName == nsXBLAtoms::destructor) {
mSecondaryState = eXBL_InDestructor;
nsXBLProtoImplAnonymousMethod* newMethod =
new nsXBLProtoImplAnonymousMethod();
if (newMethod) {