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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user