Backing out 393791
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user