Okay, backout and try this again

git-svn-id: svn://10.0.0.236/trunk@194947 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sharparrow1%yahoo.com
2006-04-20 04:05:04 +00:00
parent 480bb8ab2b
commit 4cfcd94b38

View File

@@ -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 {