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:
Robert O'Callahan 2011-01-03 15:04:59 +13:00
parent 01282934d7
commit 957f9c6e7a

View File

@ -240,6 +240,8 @@ ContainerLayerD3D9::RenderLayer()
#endif
GetEffectiveTransform().Is2D(&contTransform);
NS_ASSERTION(is2d, "Transform must be 2D");
mSupportsComponentAlphaChildren = (GetContentFlags() & CONTENT_OPAQUE) ||
(mParent && mParent->SupportsComponentAlphaChildren());
}
/*