Don't try to destroy child frames twice. Bug 262244, r+sr=roc.

This commit is contained in:
bryner%brianryner.com 2004-09-30 23:16:06 +00:00
parent e048fa7512
commit 4115a0c3b3

View File

@ -1362,7 +1362,6 @@ nsListBoxBodyFrame::OnContentRemoved(nsPresContext* aPresContext, nsIFrame* aChi
nsBoxLayoutState state(aPresContext);
if (aChildFrame) {
RemoveChildFrame(state, aChildFrame);
aChildFrame->Destroy(mPresContext);
}
MarkDirtyChildren(state);