diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-02 21:56:33 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-02 21:56:33 +0000 |
commit | 555b41aebe002918c806a8239dcab9ec2c032252 (patch) | |
tree | 82a238c2fdf460e0b80200e2acf3de14e598fade /core/fpdfapi/page/cpdf_expintfunc.h | |
parent | 33ac88d2e5090772c04be698807620aa8bc5711e (diff) | |
download | pdfium-555b41aebe002918c806a8239dcab9ec2c032252.tar.xz |
Use std::vector<float> in cpdf_expintfunc.cpp
Fix some {} along the way.
Change-Id: I5277c03328b63e0cead058fc07dc65311d7b97b0
Reviewed-on: https://pdfium-review.googlesource.com/36791
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_expintfunc.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_expintfunc.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <set> +#include <vector> #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<float> m_BeginValues; + std::vector<float> m_EndValues; }; #endif // CORE_FPDFAPI_PAGE_CPDF_EXPINTFUNC_H_ |