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-24 17:14:46 -0700
commit326ac34b722a52316999a773f215fb99d3e1e50c (patch)
treecdb3f00dad486604726ade2296312970e5311a9e
parent93978601e9c00f27b34ddbb6e1ecc06df700b49a (diff)
downloadpdfium-326ac34b722a52316999a773f215fb99d3e1e50c.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 90e1b0b90b..c57257750b 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);