Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell

This commit is contained in:
roc+@cs.cmu.edu
2006-03-09 18:55:21 +00:00
parent 555ca4bb6d
commit 79c7894a78
118 changed files with 353 additions and 471 deletions

View File

@@ -98,14 +98,14 @@ nsHTMLButtonControlFrame::Destroy(nsPresContext *aPresContext)
}
NS_IMETHODIMP
nsHTMLButtonControlFrame::Init(nsPresContext* aPresContext,
nsHTMLButtonControlFrame::Init(
nsIContent* aContent,
nsIFrame* aParent,
nsStyleContext* aContext,
nsIFrame* aPrevInFlow)
{
nsresult rv = nsHTMLContainerFrame::Init(aPresContext, aContent, aParent, aContext, aPrevInFlow);
mRenderer.SetFrame(this,aPresContext);
nsresult rv = nsHTMLContainerFrame::Init(aContent, aParent, aContext, aPrevInFlow);
mRenderer.SetFrame(this,GetPresContext());
return rv;
}