From 555b41aebe002918c806a8239dcab9ec2c032252 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 2 Jul 2018 21:56:33 +0000 Subject: Use std::vector in cpdf_expintfunc.cpp Fix some {} along the way. Change-Id: I5277c03328b63e0cead058fc07dc65311d7b97b0 Reviewed-on: https://pdfium-review.googlesource.com/36791 Commit-Queue: Tom Sepez Reviewed-by: Lei Zhang --- core/fpdfapi/page/cpdf_expintfunc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/page/cpdf_expintfunc.h') diff --git a/core/fpdfapi/page/cpdf_expintfunc.h b/core/fpdfapi/page/cpdf_expintfunc.h index 9ea9f5ccb8..c93cc86cff 100644 --- a/core/fpdfapi/page/cpdf_expintfunc.h +++ b/core/fpdfapi/page/cpdf_expintfunc.h @@ -8,6 +8,7 @@ #define CORE_FPDFAPI_PAGE_CPDF_EXPINTFUNC_H_ #include +#include #include "core/fpdfapi/page/cpdf_function.h" @@ -23,8 +24,8 @@ class CPDF_ExpIntFunc : public CPDF_Function { uint32_t m_nOrigOutputs = 0; float m_Exponent = 0.0f; - float* m_pBeginValues = nullptr; - float* m_pEndValues = nullptr; + std::vector m_BeginValues; + std::vector m_EndValues; }; #endif // CORE_FPDFAPI_PAGE_CPDF_EXPINTFUNC_H_ -- cgit v1.2.3