Skip to content

Commit c67503e

Browse files
committed
Bug 920429. Fix busted boolean expression. r=mattwoodrow
--HG-- extra : rebase_source : fe144360e5f7b3399219d15cabc93c07a547c814
1 parent fe27371 commit c67503e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gfx/layers/ThebesLayerBuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ ThebesLayerBuffer::BeginPaint(ThebesLayer* aLayer, ContentType aContentType,
599599
// have transitioned into/out of component alpha, then we need to recreate it.
600600
if (HaveBuffer() &&
601601
(contentType != BufferContentType() ||
602-
mode == Layer::SURFACE_COMPONENT_ALPHA) != (HaveBufferOnWhite())) {
602+
(mode == Layer::SURFACE_COMPONENT_ALPHA) != HaveBufferOnWhite())) {
603603

604604
// We're effectively clearing the valid region, so we need to draw
605605
// the entire needed region now.

0 commit comments

Comments
 (0)