mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 775228. r=joe
This commit is contained in:
parent
64df41fa2a
commit
e813ffaf37
@ -148,7 +148,7 @@ int32_t gfxQuartzSurface::GetDefaultContextFlags() const
|
||||
already_AddRefed<gfxImageSurface> gfxQuartzSurface::GetAsImageSurface()
|
||||
{
|
||||
cairo_surface_t *surface = cairo_quartz_surface_get_image(mSurface);
|
||||
if (!surface)
|
||||
if (!surface || cairo_surface_status(surface))
|
||||
return nullptr;
|
||||
|
||||
nsRefPtr<gfxASurface> img = Wrap(surface);
|
||||
|
Loading…
Reference in New Issue
Block a user