diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 15:43:51 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 15:43:51 -0500 |
commit | b0e23e79e72b7892b826fabea4f9e02c421d2861 (patch) | |
tree | 26f20aea660514c213a3ae942eab222e5ccebde3 /gfx/cairo/fix-clip-copy.patch | |
parent | 03590a6711d601ef3ddb48787e9f3f556705b5db (diff) | |
parent | b00601953bade944cd6df9cde6fcdd1f10d76feb (diff) | |
download | UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar.gz UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar.lz UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar.xz UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.zip |
Merge branch 'master' into mailnews-work
Diffstat (limited to 'gfx/cairo/fix-clip-copy.patch')
-rw-r--r-- | gfx/cairo/fix-clip-copy.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gfx/cairo/fix-clip-copy.patch b/gfx/cairo/fix-clip-copy.patch deleted file mode 100644 index c2c3b2fc8..000000000 --- a/gfx/cairo/fix-clip-copy.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit f49a9740350d2f0d69ed59e913f0263a899cfb2a -Author: Jeff Muizelaar <jmuizelaar@mozilla.com> -Date: Fri Jan 29 14:39:24 2010 -0500 - - Fix clip copy - -diff --git a/src/cairo-clip.c b/src/cairo-clip.c -index 8d66a5f..6acbcff 100644 ---- a/src/cairo-clip.c -+++ b/src/cairo-clip.c -@@ -280,13 +280,12 @@ cairo_clip_t * - _cairo_clip_init_copy (cairo_clip_t *clip, cairo_clip_t *other) - { - if (other != NULL) { -- if (other->path == NULL) { -- _cairo_clip_init (clip); -- clip = NULL; -- } else { -- clip->all_clipped = other->all_clipped; -- clip->path = _cairo_clip_path_reference (other->path); -- } -+ clip->all_clipped = other->all_clipped; -+ clip->path = _cairo_clip_path_reference (other->path); -+ -+ /* this guy is here because of the weird return semantics of _cairo_clip_init_copy */ -+ if (!other->path) -+ return NULL; - } else { - _cairo_clip_init (clip); - } |