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

@@ -990,7 +990,7 @@ nsFirstLineFrame::Reflow(nsPresContext* aPresContext,
nsCSSAnonBoxes::mozLineFrame, parentContext);
if (newSC) {
// Switch to the new style context.
SetStyleContext(aPresContext, newSC);
SetStyleContext(newSC);
// Re-resolve all children
ReParentChildListStyle(aPresContext, mStyleContext, mFrames);