mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Don't try to destroy child frames twice. Bug 262244, r+sr=roc.
This commit is contained in:
parent
e048fa7512
commit
4115a0c3b3
@ -1362,7 +1362,6 @@ nsListBoxBodyFrame::OnContentRemoved(nsPresContext* aPresContext, nsIFrame* aChi
|
||||
nsBoxLayoutState state(aPresContext);
|
||||
if (aChildFrame) {
|
||||
RemoveChildFrame(state, aChildFrame);
|
||||
aChildFrame->Destroy(mPresContext);
|
||||
}
|
||||
|
||||
MarkDirtyChildren(state);
|
||||
|
Loading…
Reference in New Issue
Block a user