Bug 1202696 - check surface status in _cairo_surface_get_extents. r=jmuizelaar

--HG--
extra : rebase_source : bf9bf49cf9829370ab20567f10ce4c20fa5c9fca
This commit is contained in:
Lee Salzman 2015-09-23 14:40:18 -04:00
parent 65998031ae
commit a452602084

View File

@ -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)