зеркало из https://github.com/mozilla/pjs.git
Backing out 393791
This commit is contained in:
Родитель
25876106da
Коммит
ece7266246
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче