mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Bug 1055585 - Call nsDisplayList::SetNeedsTransparentSurface when adding a display item that NeedToForceTransparentSurfaceForItem to a layer. r=roc
This commit is contained in:
parent
5a3e2e40cf
commit
51ee57a6a9
@ -2727,6 +2727,10 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList,
|
||||
NS_ASSERTION(mAppUnitsPerDevPixel == AppUnitsPerDevPixel(item),
|
||||
"items in a container layer should all have the same app units per dev pixel");
|
||||
|
||||
if (mBuilder->NeedToForceTransparentSurfaceForItem(item)) {
|
||||
aList->SetNeedsTransparentSurface();
|
||||
}
|
||||
|
||||
nsIntRect itemVisibleRect =
|
||||
ScaleToOutsidePixels(item->GetVisibleRect(), false);
|
||||
bool snap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user