зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1317637 - Replace integer literals which are cast to bool in gfx/. r=jrmuizel
MozReview-Commit-ID: 12hwCenQ3qL --HG-- extra : rebase_source : 8eef835f2e9d0a1b40b54ee0b2a14f8dfc37e726
This commit is contained in:
Родитель
eec24f4b16
Коммит
70b7835557
|
@ -597,7 +597,7 @@ gfxCoreTextShaper::SetGlyphsFromRun(gfxShapedText *aShapedText,
|
|||
// collect all glyphs in a list to be assigned to the first char;
|
||||
// there must be at least one in the clump, and we already measured its advance,
|
||||
// hence the placement of the loop-exit test and the measurement of the next glyph
|
||||
while (1) {
|
||||
while (true) {
|
||||
gfxTextRun::DetailedGlyph *details = detailedGlyphs.AppendElement();
|
||||
details->mGlyphID = glyphs[glyphStart];
|
||||
details->mXOffset = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче