ruleCount += sheet->RulesMatching(aPresContext, aPseudoTag, aParentFrame,
ruleCount += sheet->RulesMatching(aPresContext, aContent, aParentFrame,
PRInt32 StyleSetImpl::RulesMatching(nsISupportsArray* aSheets,                                    nsIPresContext* aPresContext,                                    nsIAtom* aPseudoTag,                                    nsIFrame* aParentFrame,                                    nsISupportsArray* aResults){  PRInt32 ruleCount = 0;  if (nsnull != aSheets) {    PRInt32 sheetCount = aSheets->Count();    PRInt32 index;    for (index = 0; index < sheetCount; index++) {      nsIStyleSheet* sheet = (nsIStyleSheet*)aSheets->ElementAt(index);      ruleCount += sheet->RulesMatching(aPresContext, aPseudoTag, aParentFrame,                                        aResults);      NS_RELEASE(sheet);    }  }  return ruleCount;}