From 4cfcd94b38657d81cb0bee8bdcfbaa857b0ab041 Mon Sep 17 00:00:00 2001 From: "sharparrow1%yahoo.com" Date: Thu, 20 Apr 2006 04:05:04 +0000 Subject: [PATCH] Okay, backout and try this again git-svn-id: svn://10.0.0.236/trunk@194947 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/view/src/nsView.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mozilla/view/src/nsView.cpp b/mozilla/view/src/nsView.cpp index 8de933f8d6e..b3efa98d794 100644 --- a/mozilla/view/src/nsView.cpp +++ b/mozilla/view/src/nsView.cpp @@ -660,10 +660,6 @@ nsresult nsIView::CreateWidget(const nsIID &aWindowIID, : nsnull; trect += offset; if (aWidgetInitData->mWindowType == eWindowType_popup) { - // Without a parent, we can't make a popup. This can happen - // when printing - if (!parentWidget) - return NS_ERROR_FAILURE; mWindow->Create(parentWidget->GetNativeData(NS_NATIVE_WIDGET), trect, ::HandleEvent, dx, nsnull, nsnull, aWidgetInitData); } else {