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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user