diff options
author | Lei Zhang <thestig@chromium.org> | 2018-01-26 15:32:19 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-26 15:32:19 +0000 |
commit | 30f213e89d4e7ff67e09eaae592614cddba0809a (patch) | |
tree | 4919b4766f3d0c5432aba6f001d3a10501246b22 /core/fpdfapi/render/cpdf_renderstatus.h | |
parent | b0f33f284832a49026787f9ee07750dd04fedc4d (diff) | |
download | pdfium-30f213e89d4e7ff67e09eaae592614cddba0809a.tar.xz |
Change CPDF_RenderStatus::ProcessPathPattern() to pass by pointer.
Avoid passing by non-const ref.
Change-Id: I05bfdd918b334d775c5ce50eebb8328630626896
Reviewed-on: https://pdfium-review.googlesource.com/24170
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_renderstatus.h')
-rw-r--r-- | core/fpdfapi/render/cpdf_renderstatus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/render/cpdf_renderstatus.h b/core/fpdfapi/render/cpdf_renderstatus.h index c8b7b09017..8008092766 100644 --- a/core/fpdfapi/render/cpdf_renderstatus.h +++ b/core/fpdfapi/render/cpdf_renderstatus.h @@ -109,8 +109,8 @@ class CPDF_RenderStatus { bool ProcessPath(CPDF_PathObject* pPathObj, const CFX_Matrix* pObj2Device); void ProcessPathPattern(CPDF_PathObject* pPathObj, const CFX_Matrix* pObj2Device, - int& filltype, - bool& bStroke); + int* filltype, + bool* bStroke); void DrawPathWithPattern(CPDF_PathObject* pPathObj, const CFX_Matrix* pObj2Device, const CPDF_Color* pColor, |