зеркало из https://github.com/mozilla/pjs.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:
Родитель
6667426271
Коммит
77594807f8
|
@ -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,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче