From 6eee264fc703f27b980da2396fd0dbf6f6b5a8d8 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Tue, 9 Sep 2014 17:36:01 -0700 Subject: Revert of Fix uninitialized value in CPDF_ColorStateData (patchset #1 id:1 of https://codereview.chromium.org/547863002/) Reason for revert: The initialized member variable is wrong. Needs to undo this. Original issue's description: > Fix uninitialized value in CPDF_ColorStateData > > BUG=411161 > R=tsepez@chromium.org > > Committed: https://pdfium.googlesource.com/pdfium/+/a38d4c3572b566f8e64b9ca4f725cbbc581e85ab TBR=tsepez@chromium.org,jun_fang@foxitsoftware.com NOTREECHECKS=true NOTRY=true BUG=411161 Review URL: https://codereview.chromium.org/558803004 --- 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 1bb0677aa8..307fb16bdf 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() : m_FillColor(0), m_StrokeColor(0) {} + CPDF_ColorStateData() {} CPDF_ColorStateData(const CPDF_ColorStateData& src); -- cgit v1.2.3