Bug 612840. Part 2: Remove unnecessary opacity check. r=cjones
This commit is contained in:
@@ -468,7 +468,7 @@ BasicThebesLayer::Paint(gfxContext* aContext,
|
|||||||
float opacity = GetEffectiveOpacity();
|
float opacity = GetEffectiveOpacity();
|
||||||
|
|
||||||
if (!BasicManager()->IsRetained() ||
|
if (!BasicManager()->IsRetained() ||
|
||||||
(opacity == 1.0 && !canUseOpaqueSurface &&
|
(!canUseOpaqueSurface &&
|
||||||
!(mContentFlags & CONTENT_NO_TEXT_OVER_TRANSPARENT) &&
|
!(mContentFlags & CONTENT_NO_TEXT_OVER_TRANSPARENT) &&
|
||||||
!MustRetainContent())) {
|
!MustRetainContent())) {
|
||||||
mValidRegion.SetEmpty();
|
mValidRegion.SetEmpty();
|
||||||
|
|||||||
Reference in New Issue
Block a user