summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_stitchfunc.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-19 16:55:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-19 16:55:02 +0000
commit9914d4dc1e7ad761cd52a68bc8cf64471c297cf8 (patch)
treed32b5338d1e951f8d830301dfe95108c4e21e9dd /core/fpdfapi/page/cpdf_stitchfunc.h
parent09f2855f196d4269477641413082f7d83eeb7d75 (diff)
downloadpdfium-9914d4dc1e7ad761cd52a68bc8cf64471c297cf8.tar.xz
Make CPDF_StitchFunc use more vectors.
Change-Id: Iaa3988cea5cdc6ce723c59ad051800925216d81b Reviewed-on: https://pdfium-review.googlesource.com/30990 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_stitchfunc.h')
-rw-r--r--core/fpdfapi/page/cpdf_stitchfunc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/page/cpdf_stitchfunc.h b/core/fpdfapi/page/cpdf_stitchfunc.h
index 360b789072..d6dd63d2d5 100644
--- a/core/fpdfapi/page/cpdf_stitchfunc.h
+++ b/core/fpdfapi/page/cpdf_stitchfunc.h
@@ -25,12 +25,12 @@ class CPDF_StitchFunc : public CPDF_Function {
const std::vector<std::unique_ptr<CPDF_Function>>& GetSubFunctions() const {
return m_pSubFunctions;
}
- float GetBound(size_t i) const { return m_pBounds[i]; }
+ float GetBound(size_t i) const { return m_bounds[i]; }
private:
std::vector<std::unique_ptr<CPDF_Function>> m_pSubFunctions;
- float* m_pBounds = nullptr;
- float* m_pEncode = nullptr;
+ std::vector<float> m_bounds;
+ std::vector<float> m_encode;
};
#endif // CORE_FPDFAPI_PAGE_CPDF_STITCHFUNC_H_