return ::FindFrameWithContent(mRootFrame, aContent);
nsIContent* frameContent;  aFrame->GetContent(frameContent); if (frameContent == aContent) { NS_RELEASE(frameContent); return aFrame; } NS_RELEASE(frameContent);  aFrame->FirstChild(aFrame); while (aFrame) { nsIFrame* result = FindFrameWithContent(aFrame, aContent);  if (result) { return result; }  aFrame->GetNextSibling(aFrame); }  return nsnull;
PresShell::FindFrameWithContent(nsIContent* aContent){  // For the time being do a brute force depth-first search of  // the frame tree  return ::FindFrameWithContent(mRootFrame, aContent);}