From 6d67327e5196834ea749d33533bdb3e628ad408a Mon Sep 17 00:00:00 2001 From: arno renevier Date: Tue, 20 Sep 2011 17:20:51 +0100 Subject: [PATCH] Bug 687634 - Test for whiteImage status in gfxXlibNativeRenderer::Draw; r=roc --- gfx/thebes/gfxXlibNativeRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/gfxXlibNativeRenderer.cpp b/gfx/thebes/gfxXlibNativeRenderer.cpp index d6bc3230b08..4b63bcc6f89 100644 --- a/gfx/thebes/gfxXlibNativeRenderer.cpp +++ b/gfx/thebes/gfxXlibNativeRenderer.cpp @@ -604,7 +604,7 @@ gfxXlibNativeRenderer::Draw(gfxContext* ctx, nsIntSize size, CopyXlibSurfaceToImage(tempXlibSurface, gfxASurface::ImageFormatRGB24); if (blackImage->CairoStatus() == CAIRO_STATUS_SUCCESS && - blackImage->CairoStatus() == CAIRO_STATUS_SUCCESS) { + whiteImage->CairoStatus() == CAIRO_STATUS_SUCCESS) { gfxAlphaRecovery::Analysis analysis; if (!gfxAlphaRecovery::RecoverAlpha(blackImage, whiteImage, result ? &analysis : nsnull))