Backing out 393791

This commit is contained in:
2008-04-21 17:09:55 -07:00
parent 596200c974
commit 525c7abd27

View File

@@ -312,8 +312,7 @@ nsMenuPopupFrame::SetPreferredBounds(nsBoxLayoutState& aState,
void
nsMenuPopupFrame::AdjustView()
{
if ((mPopupState == ePopupOpen || mPopupState == ePopupOpenAndVisible) &&
mGeneratedChildren) {
if (mPopupState == ePopupOpen || mPopupState == ePopupOpenAndVisible) {
// if the popup has just opened, make sure the scrolled window is at 0,0
if (mIsOpenChanged) {
nsIBox* child = GetChildBox();