Catch up with recentchanges in layout

This commit is contained in:
rbs@maths.uq.edu.au
1999-11-25 07:07:06 +00:00
parent d94149cfba
commit 4dbee6da31
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -132,8 +132,8 @@ nsMathMLmiFrame::SetInitialChildList(nsIPresContext* aPresContext,
: ":-moz-math-font-style-normal";
nsCOMPtr<nsIAtom> fontAtom(getter_AddRefs(NS_NewAtom(fontStyle)));
nsCOMPtr<nsIStyleContext> newStyleContext;
aPresContext.ResolvePseudoStyleContextFor(mContent, fontAtom, mStyleContext,
PR_FALSE, getter_AddRefs(newStyleContext));
aPresContext->ResolvePseudoStyleContextFor(mContent, fontAtom, mStyleContext,
PR_FALSE, getter_AddRefs(newStyleContext));
if (newStyleContext && newStyleContext.get() != mStyleContext) {
@@ -147,7 +147,7 @@ nsMathMLmiFrame::SetInitialChildList(nsIPresContext* aPresContext,
nsIFrame* childFrame = firstChild;
while (childFrame) {
childFrame->SetParent(newFrame);
aPresContext.ReParentStyleContext(childFrame, newStyleContext);
aPresContext->ReParentStyleContext(childFrame, newStyleContext);
childFrame->GetNextSibling(&childFrame);
}
newFrame->SetInitialChildList(aPresContext, nsnull, firstChild);
@@ -87,7 +87,7 @@ nsMathMLmrootFrame::Init(nsIPresContext* aPresContext,
}
NS_IMETHODIMP
nsMathMLmrootFrame::Paint(nsIPresContext& aPresContext,
nsMathMLmrootFrame::Paint(nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer)
@@ -108,7 +108,7 @@ nsMathMLmrootFrame::Paint(nsIPresContext& aPresContext,
}
NS_IMETHODIMP
nsMathMLmrootFrame::Reflow(nsIPresContext& aPresContext,
nsMathMLmrootFrame::Reflow(nsIPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsHTMLReflowState& aReflowState,
nsReflowStatus& aStatus)
@@ -250,8 +250,8 @@ nsMathMLmrootFrame::Reflow(nsIPresContext& aPresContext,
rect[3].x += dx; // x-origin of bar
}
child[0]->SetRect(&aPresContext, rect[0]);
child[1]->SetRect(&aPresContext, rect[1]);
child[0]->SetRect(aPresContext, rect[0]);
child[1]->SetRect(aPresContext, rect[1]);
mSqrChar.SetRect(rect[2]);
mBarChar.SetRect(rect[3]);
+2 -2
View File
@@ -54,13 +54,13 @@ public:
}
NS_IMETHOD
Reflow(nsIPresContext& aPresContext,
Reflow(nsIPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsHTMLReflowState& aReflowState,
nsReflowStatus& aStatus);
NS_IMETHOD
Paint(nsIPresContext& aPresContext,
Paint(nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer);