if (nsnull != mContainer) { return mContainer->FindWebShellWithName(aName, aResult); }
nsCOMPtr<nsIDocShellTreeItem> treeItem;  NS_ENSURE_SUCCESS(FindItemWithName(aName, nsnull, getter_AddRefs(treeItem)), NS_ERROR_FAILURE);  if(treeItem) CallQueryInterface(treeItem.get(), &aResult); else if(mContainer) return mContainer->FindWebShellWithName(aName, aResult);
nsWebShell::FindWebShellWithName(const PRUnichar* aName, nsIWebShell*& aResult){  if (nsnull != mContainer) {    return mContainer->FindWebShellWithName(aName, aResult);  }  return NS_OK;}