diff options
author | ochang <ochang@chromium.org> | 2016-04-21 12:23:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-21 12:23:51 -0700 |
commit | 0f6425fff33e4096b4e1fbfb954edae1349c0145 (patch) | |
tree | c40f781567daf9a39476ef191e136092f697fc5b | |
parent | df964dfb34e648e27dce7bef785b204894a7058a (diff) | |
download | pdfium-0f6425fff33e4096b4e1fbfb954edae1349c0145.tar.xz |
Add a missing initialisation for CPDF_ContentMarkItem.chromium/2717chromium/2716chromium/2715
R=dsinclair@chromium.org
BUG=chromium:605491
Review URL: https://codereview.chromium.org/1910143002
-rw-r--r-- | core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp b/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp index 3b7a60c059..f44972568d 100644 --- a/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp +++ b/core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp @@ -8,9 +8,8 @@ #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" -CPDF_ContentMarkItem::CPDF_ContentMarkItem() { - m_ParamType = None; -} +CPDF_ContentMarkItem::CPDF_ContentMarkItem() + : m_ParamType(None), m_pParam(nullptr) {} CPDF_ContentMarkItem::CPDF_ContentMarkItem(const CPDF_ContentMarkItem& src) { m_MarkName = src.m_MarkName; |