From 663af999d721f86e828a87354c380b76d146cedf Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Tue, 9 Sep 2014 18:32:05 -0700 Subject: Fix uninitialized value in CPDF_ColorStateData BUG=411161 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/560673002 --- 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..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); -- cgit v1.2.3