summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_renderstatus.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-19 16:35:26 -0800
committerChromium commit bot <commit-bot@chromium.org>2018-01-08 23:17:06 +0000
commit88469f5fa0fe43b74063ffaec97617ef0abbb8ca (patch)
tree6f38498021fe68baccd427dc99620a326a074f60 /core/fpdfapi/render/cpdf_renderstatus.h
parent1f2211e9c3d0c2c3a448280b58c85d021cb3ee4b (diff)
downloadpdfium-88469f5fa0fe43b74063ffaec97617ef0abbb8ca.tar.xz
Encapsulate CPDF_ShadingObject members.
Change-Id: I9b878c8df4a6208fb1908bad09eb1c699970163f Reviewed-on: https://pdfium-review.googlesource.com/21690 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_renderstatus.h')
-rw-r--r--core/fpdfapi/render/cpdf_renderstatus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_renderstatus.h b/core/fpdfapi/render/cpdf_renderstatus.h
index 1dbdf5bbd3..c8b7b09017 100644
--- a/core/fpdfapi/render/cpdf_renderstatus.h
+++ b/core/fpdfapi/render/cpdf_renderstatus.h
@@ -121,7 +121,7 @@ class CPDF_RenderStatus {
bool ProcessImage(CPDF_ImageObject* pImageObj, const CFX_Matrix* pObj2Device);
void ProcessShading(const CPDF_ShadingObject* pShadingObj,
const CFX_Matrix* pObj2Device);
- void DrawShading(CPDF_ShadingPattern* pPattern,
+ void DrawShading(const CPDF_ShadingPattern* pPattern,
CFX_Matrix* pMatrix,
FX_RECT& clip_rect,
int alpha,