Bug 612840. Part 2: Remove unnecessary opacity check. r=cjones

This commit is contained in:
Robert O'Callahan 2010-12-20 14:26:14 +13:00
parent 21068b15a9
commit 262f54d7e8

View File

@ -468,7 +468,7 @@ BasicThebesLayer::Paint(gfxContext* aContext,
float opacity = GetEffectiveOpacity();
if (!BasicManager()->IsRetained() ||
(opacity == 1.0 && !canUseOpaqueSurface &&
(!canUseOpaqueSurface &&
!(mContentFlags & CONTENT_NO_TEXT_OVER_TRANSPARENT) &&
!MustRetainContent())) {
mValidRegion.SetEmpty();