From a38d4c3572b566f8e64b9ca4f725cbbc581e85ab Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Mon, 8 Sep 2014 17:35:04 -0700 Subject: Fix uninitialized value in CPDF_ColorStateData BUG=411161 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/547863002 --- core/include/fpdfapi/fpdf_pageobj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3