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

@@ -87,7 +87,7 @@ nsMathMLmsubFrame::Place (nsIRenderingContext& aRenderingContext,
nsHTMLReflowMetrics& aDesiredSize)
{
// extra spacing after sup/subscript
nscoord scriptSpace = GetPresContext()->PointsToAppUnits(0.5f); // 0.5pt as in plain TeX
nscoord scriptSpace = PresContext()->PointsToAppUnits(0.5f); // 0.5pt as in plain TeX
// check if the subscriptshift attribute is there
nscoord subScriptShift = 0;
@@ -97,11 +97,11 @@ nsMathMLmsubFrame::Place (nsIRenderingContext& aRenderingContext,
if (!value.IsEmpty()) {
nsCSSValue cssValue;
if (ParseNumericValue(value, cssValue) && cssValue.IsLengthUnit()) {
subScriptShift = CalcLength(GetPresContext(), mStyleContext, cssValue);
subScriptShift = CalcLength(PresContext(), mStyleContext, cssValue);
}
}
return nsMathMLmsubFrame::PlaceSubScript(GetPresContext(),
return nsMathMLmsubFrame::PlaceSubScript(PresContext(),
aRenderingContext,
aPlaceOrigin,
aDesiredSize,