Bug 439343 - "Crash [@ _moz_cairo_surface_set_device_offset ] with text-shadow, large text-indent, font-size and letter-spacing" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc]

This commit is contained in:
Michael Ventnor 2008-07-08 00:43:00 -05:00
Родитель 6667426271
Коммит 77594807f8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4836,7 +4836,7 @@ nsContextBoxBlur::Init(const gfxRect& aRect, nscoord aBlurRadius,
// to create a blur effect. // to create a blur effect.
mImageSurface = new gfxImageSurface(gfxIntSize(mRect.Width(), mRect.Height()), mImageSurface = new gfxImageSurface(gfxIntSize(mRect.Width(), mRect.Height()),
gfxASurface::ImageFormatA8); gfxASurface::ImageFormatA8);
if (!mImageSurface) if (!mImageSurface || mImageSurface->CairoStatus())
return nsnull; return nsnull;
// Use a device offset so callers don't need to worry about translating coordinates, // Use a device offset so callers don't need to worry about translating coordinates,