mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1202696 - check surface status in _cairo_surface_get_extents. r=jmuizelaar
--HG-- extra : rebase_source : bf9bf49cf9829370ab20567f10ce4c20fa5c9fca
This commit is contained in:
parent
65998031ae
commit
a452602084
@ -2569,7 +2569,7 @@ _cairo_surface_get_extents (cairo_surface_t *surface,
|
||||
cairo_bool_t bounded;
|
||||
|
||||
bounded = FALSE;
|
||||
if (surface->backend->get_extents != NULL)
|
||||
if (! surface->status && surface->backend->get_extents != NULL)
|
||||
bounded = surface->backend->get_extents (surface, extents);
|
||||
|
||||
if (! bounded)
|
||||
|
Loading…
Reference in New Issue
Block a user