diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-09 22:02:32 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-09 22:02:32 +0000 |
commit | 7e28208d26764438bef62e051d2e1fed13e1e0ec (patch) | |
tree | 781d3e250a4fd3af3eb16da299b56938b21a7414 /core/fpdfapi/page/cpdf_stitchfunc.cpp | |
parent | 52489ee8114cf476342231be610e75b324290920 (diff) | |
download | pdfium-7e28208d26764438bef62e051d2e1fed13e1e0ec.tar.xz |
Add proper const/non-const versions of CPDF_Object methods.
Instead of having const methods that return non-const pointers.
BUG=pdfium:234
Change-Id: I598e9b4f267f702e2e71001cfe3aa3c9e9d8c12f
Reviewed-on: https://pdfium-review.googlesource.com/32182
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_stitchfunc.cpp')
-rw-r--r-- | core/fpdfapi/page/cpdf_stitchfunc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_stitchfunc.cpp b/core/fpdfapi/page/cpdf_stitchfunc.cpp index 2083a91623..042e090062 100644 --- a/core/fpdfapi/page/cpdf_stitchfunc.cpp +++ b/core/fpdfapi/page/cpdf_stitchfunc.cpp @@ -27,7 +27,7 @@ bool CPDF_StitchFunc::v_Init(const CPDF_Object* pObj, if (m_nInputs != kRequiredNumInputs) return false; - CPDF_Dictionary* pDict = pObj->GetDict(); + const CPDF_Dictionary* pDict = pObj->GetDict(); if (!pDict) return false; |