Bug 451028. Don't offset the exclusion region, it's in non-moving coordinates. r+sr=dbaron

This commit is contained in:
Robert O'Callahan 2008-08-25 20:54:24 +12:00
Родитель 86a457c96e
Коммит 5d0ccb30e6
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -1079,10 +1079,9 @@ AddItemsToRegion(nsDisplayListBuilder* aBuilder, nsDisplayList* aList,
AccumulateItemInRegion(aRegion, aRect + aDelta, r, exclude, item);
// we may have bitblitted an area that was painted by a non-moving
// element. This bitblitted data is invalid and was copied to
// "r + aDelta". The area to exclude was also copied and is now
// at "exclude + aDelta".
// "r + aDelta".
AccumulateItemInRegion(aRegion, aRect + aDelta, r + aDelta,
exclude + aDelta, item);
exclude, item);
}
}
}