nsAutoVoidArray classArray;  nsIStyledContent* styledContent = aData->mStyledContent; if (styledContent) styledContent->GetClasses(classArray);  cascade->mRuleHash.EnumerateAllRules(aData->mNameSpaceID, aData->mContentTag, aData->mContentID, classArray, ContentEnumFunc, aData);
cascade->mRuleHash.EnumerateTagRules(aData->mPseudoTag, PseudoEnumFunc, aData);
CSSRuleProcessor::RulesMatching(ElementRuleProcessorData *aData,                                nsIAtom* aMedium){  NS_PRECONDITION(aData->mContent->IsContentOfType(nsIContent::eELEMENT),                  "content must be element");  RuleCascadeData* cascade = GetRuleCascade(aData->mPresContext, aMedium);  if (cascade) {    nsAutoVoidArray classArray;    nsIStyledContent* styledContent = aData->mStyledContent;    if (styledContent)      styledContent->GetClasses(classArray);    cascade->mRuleHash.EnumerateAllRules(aData->mNameSpaceID, aData->mContentTag, aData->mContentID, classArray, ContentEnumFunc, aData);  }  return NS_OK;}