summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_renderstatus.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-01-26 15:32:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-26 15:32:19 +0000
commit30f213e89d4e7ff67e09eaae592614cddba0809a (patch)
tree4919b4766f3d0c5432aba6f001d3a10501246b22 /core/fpdfapi/render/cpdf_renderstatus.h
parentb0f33f284832a49026787f9ee07750dd04fedc4d (diff)
downloadpdfium-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.h4
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,