Discard aPrevFrame if it's the mPopupFrame since it's on a different lists. b=394800 r=enndeakin sr=bzbarsky a=dbaron
This commit is contained in:
@@ -1198,6 +1198,9 @@ nsMenuFrame::InsertFrames(nsIAtom* aListName,
|
||||
NS_FRAME_HAS_DIRTY_CHILDREN);
|
||||
rv = NS_OK;
|
||||
} else {
|
||||
if (NS_UNLIKELY(aPrevFrame == mPopupFrame)) {
|
||||
aPrevFrame = nsnull;
|
||||
}
|
||||
rv = nsBoxFrame::InsertFrames(aListName, aPrevFrame, aFrameList);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user