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

git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2006-03-09 18:55:21 +00:00
parent 19ae0009ea
commit 38a9722e9f
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;
}