summaryrefslogtreecommitdiff
path: root/gfx/cairo/empty-clip-rectangles.patch
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 15:43:51 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 15:43:51 -0500
commitb0e23e79e72b7892b826fabea4f9e02c421d2861 (patch)
tree26f20aea660514c213a3ae942eab222e5ccebde3 /gfx/cairo/empty-clip-rectangles.patch
parent03590a6711d601ef3ddb48787e9f3f556705b5db (diff)
parentb00601953bade944cd6df9cde6fcdd1f10d76feb (diff)
downloaduxp-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar.gz
Merge branch 'master' into mailnews-work
Diffstat (limited to 'gfx/cairo/empty-clip-rectangles.patch')
-rw-r--r--gfx/cairo/empty-clip-rectangles.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/gfx/cairo/empty-clip-rectangles.patch b/gfx/cairo/empty-clip-rectangles.patch
deleted file mode 100644
index c9aa558a27..0000000000
--- a/gfx/cairo/empty-clip-rectangles.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From f2fa15680ec3ac95cb68d4957557f06561a7dc55 Mon Sep 17 00:00:00 2001
-From: Karl Tomlinson <karlt+@karlt.net>
-Date: Fri, 16 Jul 2010 22:39:50 +0000
-Subject: clip: return empty clip from _cairo_clip_copy_rectangle_list when all_clipped
-
-Fixes https://bugs.freedesktop.org/show_bug.cgi?id=29122
-Tested by test/get-clip
-
-Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
----
-diff --git a/src/cairo-clip.c b/src/cairo-clip.c
-index 12dc04d..f6173c6 100644
---- a/src/cairo-clip.c
-+++ b/src/cairo-clip.c
-@@ -1499,7 +1499,10 @@ _cairo_clip_copy_rectangle_list (cairo_clip_t *clip, cairo_gstate_t *gstate)
- int n_rects = 0;
- int i;
-
-- if (clip != NULL && clip->path != NULL) {
-+ if (clip->all_clipped)
-+ goto DONE;
-+
-+ if (clip->path != NULL) {
- status = _cairo_clip_get_region (clip, &region);
- if (status == CAIRO_INT_STATUS_NOTHING_TO_DO) {
- goto DONE;
---
-cgit v0.8.3-6-g21f6