diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-07-31 15:27:21 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-31 20:00:43 +0000 |
commit | 47c9e6d1a151c7c8b0649712a91e04f12177b7b9 (patch) | |
tree | 2e9a8a7ee9f9b426242912395e358762eeae1a8f /core | |
parent | b73680c6b57d3848de6e1a2355b4650601031e12 (diff) | |
download | pdfium-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')
-rw-r--r-- | core/fpdfapi/page/cpdf_pathobject.cpp | 2 |
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() {} |