Bug 561959. Replace solid-color ThebesLayers with ColorLayers. r=dbaron

This commit is contained in:
Robert O'Callahan
2010-05-13 12:56:11 +12:00
parent 371a289e0f
commit d01d529e1b
4 changed files with 59 additions and 14 deletions

View File

@@ -1388,7 +1388,8 @@ AddItemsToRegion(nsDisplayListBuilder* aBuilder, nsDisplayList* aList,
}
} else {
// not moving.
if (item->IsUniform(aBuilder)) {
nscolor color;
if (item->IsUniform(aBuilder, &color)) {
// If it's uniform, we don't need to invalidate where one part
// of the item was copied to another part.
exclude.IntersectRect(r, r + aDelta);