summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_pathobject.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-07-31 15:27:21 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-31 20:00:43 +0000
commit47c9e6d1a151c7c8b0649712a91e04f12177b7b9 (patch)
tree2e9a8a7ee9f9b426242912395e358762eeae1a8f /core/fpdfapi/page/cpdf_pathobject.cpp
parentb73680c6b57d3848de6e1a2355b4650601031e12 (diff)
downloadpdfium-47c9e6d1a151c7c8b0649712a91e04f12177b7b9.tar.xz
Initialize CPDF_PathObject members on constructor.
Bug: pdfium:839 Change-Id: I3a069bf7d8a75f32cf9bcc9e9926ad19aa006795 Reviewed-on: https://pdfium-review.googlesource.com/9650 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_pathobject.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_pathobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_pathobject.cpp b/core/fpdfapi/page/cpdf_pathobject.cpp
index b54ad6e151..7dd91598c6 100644
--- a/core/fpdfapi/page/cpdf_pathobject.cpp
+++ b/core/fpdfapi/page/cpdf_pathobject.cpp
@@ -6,7 +6,7 @@
#include "core/fpdfapi/page/cpdf_pathobject.h"
-CPDF_PathObject::CPDF_PathObject() {}
+CPDF_PathObject::CPDF_PathObject() : m_FillType(0), m_bStroke(false) {}
CPDF_PathObject::~CPDF_PathObject() {}