diff options
author | Oliver Chang <ochang@chromium.org> | 2016-04-26 15:39:49 -0700 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2016-04-26 15:39:49 -0700 |
commit | 58340b0f837343671f1eb033371a41441eae80cd (patch) | |
tree | 6aeb5d71cd982c73a5a096eafc7528adaeb88b78 | |
parent | 96475ebf2265255d48e8e71928fc628777f9399f (diff) | |
download | pdfium-chromium/2661.tar.xz |
Merge to M50: Add a missing initialisation for CPDF_ContentMarkItem.chromium/2661
TBR=dsinclair@chromium.org
BUG=chromium:605491
Original Review: https://codereview.chromium.org/1910143002
Review URL: https://codereview.chromium.org/1915053006 .
-rw-r--r-- | core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp index de3a6572f2..827b9b8c6b 100644 --- a/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp @@ -587,9 +587,8 @@ void CPDF_AllStates::ProcessExtGS(CPDF_Dictionary* pGS, } pGeneralState->m_Matrix = m_CTM; } -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; m_ParamType = src.m_ParamType; |