Bug 797614 - Silence the warning about assignment in the condition in BasicTiledThebesLayer.cpp; r=jrmuizel

--HG--
extra : rebase_source : 2318567420c513555e2c8ee3cebfa5ff16eeaa3b
This commit is contained in:
Ehsan Akhgari 2012-10-03 19:36:10 -04:00
parent d9d5e24c61
commit 7d3a3034c2

View File

@ -301,7 +301,7 @@ BasicTiledThebesLayer::PaintThebes(gfxContext* aContext,
rect = it.Next();
} else {
const nsIntRect* lastRect;
while (lastRect = it.Next()) {
while ((lastRect = it.Next())) {
rect = lastRect;
}
}