summaryrefslogtreecommitdiff
path: root/Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-10-20 03:19:36 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2018-10-20 03:19:36 +0000
commita0338805df9dc1fecaea5c73227920d26b22f393 (patch)
tree4435afcafcba9b521365e0aa803cc4af349c424f /Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c
parent85f2dd77c74d1da068da86d4c931363ea620319b (diff)
cairo 1.16.0
git-svn-id: svn://tug.org/texlive/trunk@48952 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c')
-rw-r--r--Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c b/Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c
index 294e5f162e2..7a94c9bca4c 100644
--- a/Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c
+++ b/Build/source/libs/cairo/cairo-src/src/cairo-tee-surface.c
@@ -428,14 +428,15 @@ cairo_tee_surface_create (cairo_surface_t *master)
if (unlikely (master->status))
return _cairo_surface_create_in_error (master->status);
- surface = malloc (sizeof (cairo_tee_surface_t));
+ surface = _cairo_malloc (sizeof (cairo_tee_surface_t));
if (unlikely (surface == NULL))
return _cairo_surface_create_in_error (_cairo_error (CAIRO_STATUS_NO_MEMORY));
_cairo_surface_init (&surface->base,
&cairo_tee_surface_backend,
master->device,
- master->content);
+ master->content,
+ TRUE); /* is_vector */
_cairo_surface_wrapper_init (&surface->master, master);