зеркало из https://github.com/mozilla/gecko-dev.git
Bug 407059 - Part 0: Remove the Truncate() calls from nsMathMLChar::StretchEnumContext. r=karlt
This commit is contained in:
Родитель
8d457861b8
Коммит
94bbbf60fd
|
@ -963,8 +963,6 @@ nsMathMLChar::StretchEnumContext::TryVariants(nsGlyphTable* aGlyphTable,
|
|||
// Use our stretchy style context now that stretching is in progress
|
||||
nsStyleContext *sc = mChar->mStyleContext;
|
||||
nsFont font = sc->StyleFont()->mFont;
|
||||
// Ensure SetFontFamily will set the font
|
||||
font.name.Truncate();
|
||||
|
||||
bool isVertical = (mDirection == NS_STRETCH_DIRECTION_VERTICAL);
|
||||
bool largeop = (NS_STRETCH_LARGEOP & mStretchHint) != 0;
|
||||
|
@ -1064,8 +1062,6 @@ nsMathMLChar::StretchEnumContext::TryParts(nsGlyphTable* aGlyphTable,
|
|||
|
||||
// Use our stretchy style context now that stretching is in progress
|
||||
nsFont font = mChar->mStyleContext->StyleFont()->mFont;
|
||||
// Ensure SetFontFamily will set the font
|
||||
font.name.Truncate();
|
||||
|
||||
// Compute the bounding metrics of all partial glyphs
|
||||
nsAutoPtr<gfxTextRun> textRun[4];
|
||||
|
|
Загрузка…
Ссылка в новой задаче