зеркало из https://github.com/mozilla/gecko-dev.git
remove unused code. b=69313 r=bstell sr=erik
This commit is contained in:
Родитель
b5d1baa259
Коммит
40feadcb81
|
@ -1450,12 +1450,6 @@ nsFontXPNormal::GetBoundingMetrics (const PRUnichar* aString,
|
||||||
aBoundingMetrics.width = overall.width;
|
aBoundingMetrics.width = overall.width;
|
||||||
aBoundingMetrics.ascent = overall.ascent;
|
aBoundingMetrics.ascent = overall.ascent;
|
||||||
aBoundingMetrics.descent = overall.descent;
|
aBoundingMetrics.descent = overall.descent;
|
||||||
|
|
||||||
unsigned long pr = 0;
|
|
||||||
if (::XGetFontProperty(font_struct, XA_ITALIC_ANGLE, &pr)) {
|
|
||||||
aBoundingMetrics.subItalicCorrection = (int) pr;
|
|
||||||
aBoundingMetrics.supItalicCorrection = (int) pr;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче