mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
diff -NrpU12 mozilla-trunk.56113bebf57f/gfx/cairo/cairo/src/cairo-clip.c mozilla-trunk/gfx/cairo/cairo/src/cairo-clip.c
|
|
--- mozilla-trunk.56113bebf57f/gfx/cairo/cairo/src/cairo-clip.c 2008-04-16 16:02:09.000000000 +1200
|
|
+++ mozilla-trunk/gfx/cairo/cairo/src/cairo-clip.c 2008-04-16 16:02:09.000000000 +1200
|
|
@@ -669,26 +669,25 @@ _cairo_clip_init_deep_copy (cairo_clip_t
|
|
* whatever the right handling is happen */
|
|
} else {
|
|
if (other->has_region) {
|
|
status = _cairo_region_copy (&clip->region, &other->region);
|
|
if (status)
|
|
goto BAIL;
|
|
|
|
clip->has_region = TRUE;
|
|
}
|
|
|
|
if (other->surface) {
|
|
status = _cairo_surface_clone_similar (target, other->surface,
|
|
- other->surface_rect.x,
|
|
- other->surface_rect.y,
|
|
+ 0, 0,
|
|
other->surface_rect.width,
|
|
other->surface_rect.height,
|
|
&clip->surface);
|
|
if (status)
|
|
goto BAIL;
|
|
|
|
clip->surface_rect = other->surface_rect;
|
|
}
|
|
|
|
if (other->path) {
|
|
status = _cairo_clip_path_reapply_clip_path (clip, other->path);
|
|
if (status && status != CAIRO_INT_STATUS_UNSUPPORTED)
|