Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -758,20 +758,6 @@ nsMathMLContainerFrame::Init(nsIContent* aContent,
|
||||
// tree is constructed.
|
||||
}
|
||||
|
||||
// This method is called in a bottom-up manner, as we ascend the frame tree
|
||||
// after its construction
|
||||
NS_IMETHODIMP
|
||||
nsMathMLContainerFrame::SetInitialChildList(nsPresContext* aPresContext,
|
||||
nsIAtom* aListName,
|
||||
nsIFrame* aChildList)
|
||||
{
|
||||
// let the base class do its job
|
||||
return nsHTMLContainerFrame::SetInitialChildList(aPresContext, aListName, aChildList);
|
||||
|
||||
// ...We will build our automatic MathML data once the entire <math>...</math>
|
||||
// tree is constructed.
|
||||
}
|
||||
|
||||
// Note that this method re-builds the automatic data in the children -- not
|
||||
// in aParentFrame itself (except for those particular operations that the
|
||||
// parent frame may do in its TransmitAutomaticData()).
|
||||
@@ -928,7 +914,7 @@ nsMathMLContainerFrame::RemoveFrame(nsIAtom* aListName,
|
||||
return NS_ERROR_INVALID_ARG;
|
||||
}
|
||||
// remove the child frame
|
||||
mFrames.DestroyFrame(GetPresContext(), aOldFrame);
|
||||
mFrames.DestroyFrame(aOldFrame);
|
||||
return ChildListChanged(nsIDOMMutationEvent::REMOVAL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user