Backing out patch that was accidentally checked in with bug 284950.

git-svn-id: svn://10.0.0.236/trunk@186695 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cvshook%sicking.cc 2005-12-29 04:58:30 +00:00
parent 4d0919d856
commit b5a86b3a14

View File

@ -988,10 +988,7 @@ nsMathMLContainerFrame::RemoveFrame(nsIAtom* aListName,
return NS_ERROR_INVALID_ARG;
}
// remove the child frame
nsPresContext* presContext = GetPresContext();
presContext->PresShell()->FrameConstructor()->
RemoveMappingsForFrameSubtree(aOldFrame);
mFrames.DestroyFrame(presContext, aOldFrame);
mFrames.DestroyFrame(GetPresContext(), aOldFrame);
return ChildListChanged(nsIDOMMutationEvent::REMOVAL);
}