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