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:
@@ -54,8 +54,7 @@ class nsColumnSetFrame : public nsHTMLContainerFrame {
|
||||
public:
|
||||
nsColumnSetFrame(nsStyleContext* aContext);
|
||||
|
||||
NS_IMETHOD SetInitialChildList(nsPresContext* aPresContext,
|
||||
nsIAtom* aListName,
|
||||
NS_IMETHOD SetInitialChildList(nsIAtom* aListName,
|
||||
nsIFrame* aChildList);
|
||||
|
||||
NS_IMETHOD Reflow(nsPresContext* aPresContext,
|
||||
@@ -169,15 +168,14 @@ nsColumnSetFrame::GetType() const
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsColumnSetFrame::SetInitialChildList(nsPresContext* aPresContext,
|
||||
nsIAtom* aListName,
|
||||
nsIFrame* aChildList)
|
||||
nsColumnSetFrame::SetInitialChildList(nsIAtom* aListName,
|
||||
nsIFrame* aChildList)
|
||||
{
|
||||
NS_ASSERTION(!aListName, "Only default child list supported");
|
||||
NS_ASSERTION(aChildList && !aChildList->GetNextSibling(),
|
||||
"initial child list must have exactly one child");
|
||||
// Queue up the frames for the content frame
|
||||
return nsHTMLContainerFrame::SetInitialChildList(aPresContext, nsnull, aChildList);
|
||||
return nsHTMLContainerFrame::SetInitialChildList(nsnull, aChildList);
|
||||
}
|
||||
|
||||
static nscoord GetAvailableContentWidth(const nsHTMLReflowState& aReflowState) {
|
||||
|
||||
Reference in New Issue
Block a user