Bug 1773770: Part 10 - Migrate xpcshell to register components without defining a...
[gecko.git] / gfx / cairo / zero-subpath-bounds.patch
blob7ebad7e52c121b0d55cf3d23b597d029a7561d06
1 diff --git a/gfx/cairo/cairo/src/cairo-path-bounds.c b/gfx/cairo/cairo/src/cairo-path-bounds.c
2 --- a/gfx/cairo/cairo/src/cairo-path-bounds.c
3 +++ b/gfx/cairo/cairo/src/cairo-path-bounds.c
4 @@ -139,6 +139,13 @@ static cairo_status_t
5 static cairo_status_t
6 _cairo_path_bounder_close_path (void *closure)
8 + cairo_path_bounder_t *bounder = closure;
10 + if (bounder->has_initial_point) {
11 + _cairo_path_bounder_add_point (bounder, &bounder->current_point);
12 + bounder->has_initial_point = FALSE;
13 + }
15 return CAIRO_STATUS_SUCCESS;