nsIStyleContext* StyleSetImpl::GetContext(nsIPresContext* aPresContext, nsIStyleContext* aParentContext, nsIAtom* aPseudoTag)
StyleSetImpl::GetContext(nsIPresContext* aPresContext, nsStyleContext* aParentContext, nsIAtom* aPseudoTag)
nsIStyleContext* StyleSetImpl::GetContext(nsIPresContext* aPresContext,                                           nsIStyleContext* aParentContext,                                           nsIAtom* aPseudoTag){  nsIStyleContext* result = nsnull;  nsRuleNode* ruleNode = mRuleWalker->GetCurrentNode();        if (aParentContext)    aParentContext->FindChildWithRules(aPseudoTag, ruleNode, result);#ifdef NOISY_DEBUG  if (result)    fprintf(stdout, "--- SharedSC %d ---\n", ++gSharedCount);  else    fprintf(stdout, "+++ NewSC %d +++\n", ++gNewCount);#endif  if (!result)    NS_NewStyleContext(&result, aParentContext, aPseudoTag, ruleNode,                       aPresContext);  return result;}