Bug 920429. Fix busted boolean expression. r=mattwoodrow

--HG--
extra : rebase_source : fe144360e5f7b3399219d15cabc93c07a547c814
This commit is contained in:
Robert O'Callahan 2013-09-25 23:11:23 +12:00
parent d3c8187161
commit 330ecd95d9

View File

@ -599,7 +599,7 @@ ThebesLayerBuffer::BeginPaint(ThebesLayer* aLayer, ContentType aContentType,
// have transitioned into/out of component alpha, then we need to recreate it.
if (HaveBuffer() &&
(contentType != BufferContentType() ||
mode == Layer::SURFACE_COMPONENT_ALPHA) != (HaveBufferOnWhite())) {
(mode == Layer::SURFACE_COMPONENT_ALPHA) != HaveBufferOnWhite())) {
// We're effectively clearing the valid region, so we need to draw
// the entire needed region now.