if (mRuleProcessors) { mRuleProcessors->EnumerateForwards(EnumClearRuleCascades, nsnull);
RuleCascadeData *data = mRuleCascades; mRuleCascades = nsnull; while (data) { RuleCascadeData *next = data->mNext; delete data; data = next;
CSSStyleSheetImpl::ClearRuleCascades(void){  if (mRuleProcessors) {    mRuleProcessors->EnumerateForwards(EnumClearRuleCascades, nsnull);  }  if (mParent) {    CSSStyleSheetImpl* parent = (CSSStyleSheetImpl*)mParent;    parent->ClearRuleCascades();  }}