backout Bug 346054 to fix regression

This commit is contained in:
Olli.Pettay%helsinki.fi 2006-07-30 00:26:19 +00:00
parent 04d7969ba0
commit 6f609c832f

View File

@ -368,7 +368,7 @@ nsPopupSetFrame::ShowPopup(nsIContent* aElementContent, nsIContent* aPopupConten
if ( childPopup && aPopupType.EqualsLiteral("context") )
childPopup->SetIsContextMenu(PR_TRUE);
if (!weakFrame.IsAlive() || (entry->mPopupFrame && !weakPopupFrame.IsAlive())) {
if (!weakFrame.IsAlive()) {
return NS_OK;
}