зеркало из https://github.com/mozilla/pjs.git
Bug 687634 - Test for whiteImage status in gfxXlibNativeRenderer::Draw; r=roc
This commit is contained in:
Родитель
abbc248a06
Коммит
6d67327e51
|
@ -604,7 +604,7 @@ gfxXlibNativeRenderer::Draw(gfxContext* ctx, nsIntSize size,
|
||||||
CopyXlibSurfaceToImage(tempXlibSurface, gfxASurface::ImageFormatRGB24);
|
CopyXlibSurfaceToImage(tempXlibSurface, gfxASurface::ImageFormatRGB24);
|
||||||
|
|
||||||
if (blackImage->CairoStatus() == CAIRO_STATUS_SUCCESS &&
|
if (blackImage->CairoStatus() == CAIRO_STATUS_SUCCESS &&
|
||||||
blackImage->CairoStatus() == CAIRO_STATUS_SUCCESS) {
|
whiteImage->CairoStatus() == CAIRO_STATUS_SUCCESS) {
|
||||||
gfxAlphaRecovery::Analysis analysis;
|
gfxAlphaRecovery::Analysis analysis;
|
||||||
if (!gfxAlphaRecovery::RecoverAlpha(blackImage, whiteImage,
|
if (!gfxAlphaRecovery::RecoverAlpha(blackImage, whiteImage,
|
||||||
result ? &analysis : nsnull))
|
result ? &analysis : nsnull))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче