summaryrefslogtreecommitdiff
path: root/xps/xpsgradient.c
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2010-08-10 16:20:19 +0000
committerMichael Vrhel <michael.vrhel@artifex.com>2010-08-10 16:20:19 +0000
commite67735cdd424bbf3c92c0a4a16f4f4f6cd9da697 (patch)
tree67dc64d43158b6d5b9a777612d048fdd27083891 /xps/xpsgradient.c
parent7594f0669e31dc308e21aae1731c36048c5175f1 (diff)
downloadghostpdl-e67735cdd424bbf3c92c0a4a16f4f4f6cd9da697.tar.gz
Commit to move the ICC profile for the device within the device structure. This will make it easier to handle dynamic changes that may occur to the process color model for the device. Also a move of device profiles into non gc memory and removal of any references to profiles to the GC. A few progressions occur with this commit including Bug689918.pdf testpage.pdf.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@11619 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'xps/xpsgradient.c')
-rw-r--r--xps/xpsgradient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xps/xpsgradient.c b/xps/xpsgradient.c
index b51b9a0d7..633cc357f 100644
--- a/xps/xpsgradient.c
+++ b/xps/xpsgradient.c
@@ -83,9 +83,9 @@ xps_parse_gradient_stops(xps_context_t *ctx, char *base_uri, xps_item_t *node,
rendering_params.rendering_intent = gsPERCEPTUAL;
/* Get link to map from source to sRGB */
- icclink = gsicc_get_link((gs_imager_state*) ctx->pgs, colorspace,
- ctx->srgb, &rendering_params,
- ctx->memory, false);
+ icclink = gsicc_get_link((gs_imager_state*) ctx->pgs,
+ NULL, colorspace, ctx->srgb,
+ &rendering_params, ctx->memory, false);
if (icclink != NULL && !icclink->is_identity)
{