Revert of Fix uninitialized value in CPDF_ColorStateData (patchset #1 id:1 of https...
authorBo Xu <bo_xu@foxitsoftware.com>
Wed, 10 Sep 2014 00:36:01 +0000 (17:36 -0700)
committerBo Xu <bo_xu@foxitsoftware.com>
Wed, 10 Sep 2014 00:36:01 +0000 (17:36 -0700)
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

index 1bb0677..307fb16 100644 (file)
@@ -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);