Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by

Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2007-03-30 21:11:47 +00:00
parent c60cbdb66c
commit 116d69628c
104 changed files with 539 additions and 539 deletions

View File

@@ -290,11 +290,11 @@ nsMathMLmunderoverFrame::Place(nsIRenderingContext& aRenderingContext,
if ( NS_MATHML_EMBELLISH_IS_MOVABLELIMITS(mEmbellishData.flags) &&
!NS_MATHML_IS_DISPLAYSTYLE(mPresentationData.flags)) {
// place like sub-superscript pair
return nsMathMLmsubsupFrame::PlaceSubSupScript(GetPresContext(),
return nsMathMLmsubsupFrame::PlaceSubSupScript(PresContext(),
aRenderingContext,
aPlaceOrigin,
aDesiredSize,
this, 0, 0, GetPresContext()->PointsToAppUnits(0.5f));
this, 0, 0, PresContext()->PointsToAppUnits(0.5f));
}
////////////////////////////////////
@@ -478,13 +478,13 @@ nsMathMLmunderoverFrame::Place(nsIRenderingContext& aRenderingContext,
nscoord dy;
// place overscript
dy = aDesiredSize.ascent - mBoundingMetrics.ascent + bmOver.ascent - overSize.ascent;
FinishReflowChild (overFrame, GetPresContext(), nsnull, overSize, dxOver, dy, 0);
FinishReflowChild (overFrame, PresContext(), nsnull, overSize, dxOver, dy, 0);
// place base
dy = aDesiredSize.ascent - baseSize.ascent;
FinishReflowChild (baseFrame, GetPresContext(), nsnull, baseSize, dxBase, dy, 0);
FinishReflowChild (baseFrame, PresContext(), nsnull, baseSize, dxBase, dy, 0);
// place underscript
dy = aDesiredSize.ascent + mBoundingMetrics.descent - bmUnder.descent - underSize.ascent;
FinishReflowChild (underFrame, GetPresContext(), nsnull, underSize, dxUnder, dy, 0);
FinishReflowChild (underFrame, PresContext(), nsnull, underSize, dxUnder, dy, 0);
}
return NS_OK;
}