bug 23913, new wallet editor, r=dp

This commit is contained in:
morse%netscape.com 2000-01-25 03:21:22 +00:00
parent b4baf88489
commit 256f2955d4

View File

@ -88,22 +88,6 @@ static void DOMWindowToWebShellWindow(
NS_IMETHODIMP
WalletEditorImpl::SetValue(const PRUnichar* aValue, nsIDOMWindow* win)
{
/* close the window */
if (!win) {
return NS_ERROR_FAILURE;
}
nsIDOMWindow* top;
win->GetTop(&top);
if (!top) {
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIWebShellWindow> parent;
DOMWindowToWebShellWindow(top, &parent);
if (parent) {
parent->Close();
}
NS_IF_RELEASE(win);
/* process the value */
NS_PRECONDITION(aValue != nsnull, "null ptr");
if (! aValue) {