Remove redundant call to _cairo_surface_get_extents

We called it just above with the same parameters.
(cherry picked from 17eeacfba8 commit)
This commit is contained in:
Robert O'Callahan 2006-09-25 16:24:33 -07:00 committed by Behdad Esfahbod
parent b586c0456e
commit 57bca39e08

View file

@ -548,10 +548,6 @@ _clip_and_composite_trapezoids (cairo_pattern_t *src,
* _cairo_surface_fill_rectangles() or to drawing with a
* clip region, then we have an additional region to clear.
*/
status = _cairo_surface_get_extents (dst, &extents);
if (status)
return status;
clear_region = _cairo_region_create_from_rectangle (&extents);
if (clear_region == NULL)
return CAIRO_STATUS_NO_MEMORY;