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:
Andi-Bogdan Postelnicu 2016-11-15 11:12:27 +02:00
Родитель eec24f4b16
Коммит 70b7835557
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;