summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-09-08 17:35:04 -0700
committerBo Xu <bo_xu@foxitsoftware.com>2014-09-08 17:35:04 -0700
commita38d4c3572b566f8e64b9ca4f725cbbc581e85ab (patch)
tree093cbe3b79768cdf07a7ef924023fe87df1c65bd /core
parent0fb1b3d3076bd22dbdc346b9b74f122d14ad070e (diff)
downloadpdfium-a38d4c3572b566f8e64b9ca4f725cbbc581e85ab.tar.xz
Fix uninitialized value in CPDF_ColorStateData
BUG=411161 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/547863002
Diffstat (limited to 'core')
-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..1bb0677aa8 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_FillColor(0), m_StrokeColor(0) {}
CPDF_ColorStateData(const CPDF_ColorStateData& src);