bug 906643 - fix nsTextFrame build bustage on a CLOSED TREE. r=bustage

This commit is contained in:
Jonathan Kew 2013-09-13 12:57:27 +01:00
parent 21dab51e63
commit 1b8dc7ddfd

View File

@ -846,7 +846,8 @@ CreateObserversForAnimatedGlyphs(gfxTextRun* aTextRun)
}
nsTArray<gfxFont*> fontsWithAnimatedGlyphs;
uint32_t numGlyphRuns;
const GlyphRun* glyphRuns = aTextRun->GetGlyphRuns(&numGlyphRuns);
const gfxTextRun::GlyphRun* glyphRuns =
aTextRun->GetGlyphRuns(&numGlyphRuns);
for (uint32_t i = 0; i < numGlyphRuns; ++i) {
gfxFont* font = glyphRuns[i].mFont;
if (font->GlyphsMayChange() && !fontsWithAnimatedGlyphs.Contains(font)) {