nsCOMPtr<nsIBaseWindow> treeOwnerAsWin(do_QueryInterface(mDocShell));  if (treeOwnerAsWin) { treeOwnerAsWin->Destroy(); }
Destroy();
nsFrameLoader::~nsFrameLoader(){  nsCOMPtr<nsIBaseWindow> treeOwnerAsWin(do_QueryInterface(mDocShell));  if (treeOwnerAsWin) {    treeOwnerAsWin->Destroy();  }}