for (nsIFrame *f = aFrame->GetFirstInFlow(); f; f->GetNextInFlow(&f)) {
for (nsIFrame *f = aFrame->GetFirstInFlow(); f; f = f->GetNextInFlow()) {
HasTextFrameDescendantOrInFlow(nsPresContext* aPresContext, nsIFrame* aFrame){  for (nsIFrame *f = aFrame->GetFirstInFlow(); f; f->GetNextInFlow(&f)) {    if (HasTextFrameDescendant(aPresContext, f))      return PR_TRUE;  }  return PR_FALSE;}