mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 539604. Part 12: Enable component alpha for containers that don't have an intermediate surface. r=bas,a=blocking
This commit is contained in:
parent
01282934d7
commit
957f9c6e7a
@ -240,6 +240,8 @@ ContainerLayerD3D9::RenderLayer()
|
||||
#endif
|
||||
GetEffectiveTransform().Is2D(&contTransform);
|
||||
NS_ASSERTION(is2d, "Transform must be 2D");
|
||||
mSupportsComponentAlphaChildren = (GetContentFlags() & CONTENT_OPAQUE) ||
|
||||
(mParent && mParent->SupportsComponentAlphaChildren());
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user