Bug 1189261 - Mark tile invalid region in coordinates relative to the tile. r=jrmuizel

This commit is contained in:
Matt Woodrow 2015-07-31 17:03:58 -04:00
Родитель 05d1373996
Коммит a1da098a25
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -186,7 +186,7 @@ ClientSingleTiledLayerBuffer::PaintThebes(const nsIntRegion& aNewValidRegion,
// Mark the area we just drew into the back buffer as invalid in the front buffer as they're
// now out of sync.
mTile.mInvalidFront.OrWith(paintRegion);
mTile.mInvalidFront.OrWith(tileDirtyRegion);
// The new buffer is now validated, remove the dirty region from it.
mTile.mInvalidBack.SubOut(tileDirtyRegion);