summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_pathobject.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-24 18:30:30 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-24 18:30:30 +0000
commitf4f2b6d45e00c67a3c508618a829330a67b827ba (patch)
tree559993f43ae437d8a1f07f7388fecd72bc119868 /core/fpdfapi/page/cpdf_pathobject.cpp
parent02d42b65b779e29737275a258cb9f30fa8449e5e (diff)
downloadpdfium-f4f2b6d45e00c67a3c508618a829330a67b827ba.tar.xz
Start making CPDF_PathObject members private.
Also move member initialization to the header. Change-Id: I557380ae774ddf887cefeb56df2a33e5b7cff8a4 Reviewed-on: https://pdfium-review.googlesource.com/c/44510 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_pathobject.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_pathobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_pathobject.cpp b/core/fpdfapi/page/cpdf_pathobject.cpp
index 4fb8f10a6b..eafbe77ca2 100644
--- a/core/fpdfapi/page/cpdf_pathobject.cpp
+++ b/core/fpdfapi/page/cpdf_pathobject.cpp
@@ -7,11 +7,11 @@
#include "core/fpdfapi/page/cpdf_pathobject.h"
CPDF_PathObject::CPDF_PathObject(int32_t content_stream)
- : CPDF_PageObject(content_stream), m_FillType(0), m_bStroke(false) {}
+ : CPDF_PageObject(content_stream) {}
CPDF_PathObject::CPDF_PathObject() : CPDF_PathObject(kNoContentStream) {}
-CPDF_PathObject::~CPDF_PathObject() {}
+CPDF_PathObject::~CPDF_PathObject() = default;
CPDF_PageObject::Type CPDF_PathObject::GetType() const {
return PATH;