return NS_OK;
if (nsnull != mParent) { mParent->RemoveChild(this); }  if (nsnull != mDocLoader) { mDocLoader->SetContainer(nsnull); }  NS_IF_RELEASE(mContentViewer);   DestroyChildren(); return rv;
NS_IMETHODIMP nsWebShell::Destroy(){  nsresult rv = NS_OK;  //Fire unload event before we blow anything away.  rv = FireUnloadEvent();  nsDocShell::Destroy();  SetContainer(nsnull);  return NS_OK;}