Index: core/fpdfapi/fpdf_page/cpdf_meshstream.h |
diff --git a/core/fpdfapi/fpdf_page/cpdf_meshstream.h b/core/fpdfapi/fpdf_page/cpdf_meshstream.h |
index 8f47265acd5a66abf542d91cc70eb5e5c9e4cf13..5fb697e53bb39f734438736ebdf9ab17904bf35a 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_meshstream.h |
+++ b/core/fpdfapi/fpdf_page/cpdf_meshstream.h |
@@ -51,7 +51,7 @@ class CPDF_MeshStream { |
uint32_t comps() const { return m_nComps; } |
private: |
- static const uint32_t kMaxResults = 8; |
+ static const uint32_t kMaxComps = 8; |
Tom Sepez
2016/06/01 19:28:19
nit: kMaxComponents
Lei Zhang
2016/06/01 19:42:33
Done. I changed all the other uses for consistency
|
const ShadingType m_type; |
const std::vector<std::unique_ptr<CPDF_Function>>& m_funcs; |
@@ -67,8 +67,8 @@ class CPDF_MeshStream { |
FX_FLOAT m_xmax; |
FX_FLOAT m_ymin; |
FX_FLOAT m_ymax; |
- FX_FLOAT m_ColorMin[kMaxResults]; |
- FX_FLOAT m_ColorMax[kMaxResults]; |
+ FX_FLOAT m_ColorMin[kMaxComps]; |
+ FX_FLOAT m_ColorMax[kMaxComps]; |
CPDF_StreamAcc m_Stream; |
CFX_BitStream m_BitStream; |
}; |