aFrame->FirstChild(aPresContext, nsnull, &aFrame); while (aFrame) { RefreshAllContentFrames(aPresContext, aFrame, aContent); aFrame->GetNextSibling(&aFrame); } }
static void RefreshAllContentFrames(nsIPresContext* aPresContext, nsIFrame * aFrame, nsIContent * aContent){  nsIContent* frameContent;  aFrame->GetContent(&frameContent);  if (frameContent == aContent) {    ForceDrawFrame(aPresContext, (nsFrame *)aFrame);  }  NS_IF_RELEASE(frameContent);  aFrame->FirstChild(aPresContext, nsnull, &aFrame);  while (aFrame) {    RefreshAllContentFrames(aPresContext, aFrame, aContent);    aFrame->GetNextSibling(&aFrame);  }}