Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt

r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cvshook%sicking.cc
2005-12-28 21:52:39 +00:00
parent dd63e82e49
commit cf43ff4e7d
34 changed files with 224 additions and 373 deletions

View File

@@ -63,6 +63,7 @@
#include "nsMathMLContainerFrame.h"
#include "nsAutoPtr.h"
#include "nsStyleSet.h"
#include "nsCSSFrameConstructor.h"
NS_DEFINE_CID(kInlineFrameCID, NS_INLINE_FRAME_CID);
@@ -987,7 +988,10 @@ nsMathMLContainerFrame::RemoveFrame(nsIAtom* aListName,
return NS_ERROR_INVALID_ARG;
}
// remove the child frame
mFrames.DestroyFrame(GetPresContext(), aOldFrame);
nsPresContext* presContext = GetPresContext();
presContext->PresShell()->FrameConstructor()->
RemoveMappingsForFrameSubtree(aOldFrame);
mFrames.DestroyFrame(presContext, aOldFrame);
return ChildListChanged(nsIDOMMutationEvent::REMOVAL);
}