summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-09-09 18:32:05 -0700
committerBo Xu <bo_xu@foxitsoftware.com>2014-09-09 18:32:05 -0700
commit663af999d721f86e828a87354c380b76d146cedf (patch)
tree7ed3c149284492edfed11942e8374d11a6fc5193
parent6eee264fc703f27b980da2396fd0dbf6f6b5a8d8 (diff)
downloadpdfium-663af999d721f86e828a87354c380b76d146cedf.tar.xz
Fix uninitialized value in CPDF_ColorStateData
BUG=411161 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/560673002
-rw-r--r--core/include/fpdfapi/fpdf_pageobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h
index 307fb16bdf..f211254791 100644
--- a/core/include/fpdfapi/fpdf_pageobj.h
+++ b/core/include/fpdfapi/fpdf_pageobj.h
@@ -165,7 +165,7 @@ class CPDF_ColorStateData : public CFX_Object
{
public:
- CPDF_ColorStateData() {}
+ CPDF_ColorStateData(): m_FillRGB(0), m_StrokeRGB(0) {}
CPDF_ColorStateData(const CPDF_ColorStateData& src);