static PRBool IsAncestorOf(const nsView* aAncestor, const nsView* aView)
static PRBool IsAncestorOf(const nsIView* aAncestor, const nsIView* aView)
static PRBool IsAncestorOf(const nsView* aAncestor, const nsView* aView) {  while (nsnull != aView) {    aView = aView->GetParent();    if (aView == aAncestor) {      return PR_TRUE;    }  }  return PR_FALSE;}