зеркало из https://github.com/mozilla/gecko-dev.git
Bug 451028. Don't offset the exclusion region, it's in non-moving coordinates. r+sr=dbaron
This commit is contained in:
Родитель
86a457c96e
Коммит
5d0ccb30e6
|
@ -1079,10 +1079,9 @@ AddItemsToRegion(nsDisplayListBuilder* aBuilder, nsDisplayList* aList,
|
||||||
AccumulateItemInRegion(aRegion, aRect + aDelta, r, exclude, item);
|
AccumulateItemInRegion(aRegion, aRect + aDelta, r, exclude, item);
|
||||||
// we may have bitblitted an area that was painted by a non-moving
|
// we may have bitblitted an area that was painted by a non-moving
|
||||||
// element. This bitblitted data is invalid and was copied to
|
// element. This bitblitted data is invalid and was copied to
|
||||||
// "r + aDelta". The area to exclude was also copied and is now
|
// "r + aDelta".
|
||||||
// at "exclude + aDelta".
|
|
||||||
AccumulateItemInRegion(aRegion, aRect + aDelta, r + aDelta,
|
AccumulateItemInRegion(aRegion, aRect + aDelta, r + aDelta,
|
||||||
exclude + aDelta, item);
|
exclude, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче