зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
8dd72f8c0d
Коммит
20e2b7315c
|
@ -4836,7 +4836,7 @@ nsContextBoxBlur::Init(const gfxRect& aRect, nscoord aBlurRadius,
|
|||
// to create a blur effect.
|
||||
mImageSurface = new gfxImageSurface(gfxIntSize(mRect.Width(), mRect.Height()),
|
||||
gfxASurface::ImageFormatA8);
|
||||
if (!mImageSurface)
|
||||
if (!mImageSurface || mImageSurface->CairoStatus())
|
||||
return nsnull;
|
||||
|
||||
// Use a device offset so callers don't need to worry about translating coordinates,
|
||||
|
|
Загрузка…
Ссылка в новой задаче