Backing out bug 392040 to fix bug 404872. a="it's a blocker regression, and it's keeping me and Gavin from using Bugzilla"

This commit is contained in:
2007-11-25 15:17:23 -08:00
parent 7a6f39f147
commit 2b75f12a24

View File

@@ -542,7 +542,7 @@ nsContainerFrame::SyncFrameViewProperties(nsPresContext* aPresContext,
// visible in all cases because the scrollbars will be showing
// XXXldb Does the view system really enforce this correctly?
viewIsVisible = PR_FALSE;
} else if (aFrame->GetType() == nsGkAtoms::menuPopupFrame || aFrame->GetType() == nsGkAtoms::listControlFrame) {
} else if (aFrame->GetType() == nsGkAtoms::menuPopupFrame) {
// if the view is for a popup, don't show the view if the popup is closed
nsIWidget* widget = aView->GetWidget();
if (widget) {