From d3def7e54daef743ab0efbadda4531c64ffd1fc3 Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Wed, 4 Nov 2015 09:03:57 -0800 Subject: Fix uninitialized variable introduced by previous refactoring. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1411133006 . --- fpdfsdk/src/fsdk_mgr.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp index ab6e3cf023..f0035064f9 100644 --- a/fpdfsdk/src/fsdk_mgr.cpp +++ b/fpdfsdk/src/fsdk_mgr.cpp @@ -387,7 +387,11 @@ CFFL_IFormFiller* CPDFDoc_Environment::GetIFormFiller() { CPDFSDK_Document::CPDFSDK_Document(CPDF_Document* pDoc, CPDFDoc_Environment* pEnv) - : m_pDoc(pDoc), m_pFocusAnnot(nullptr), m_pEnv(pEnv), m_bChangeMask(FALSE) { + : m_pDoc(pDoc), + m_pFocusAnnot(nullptr), + m_pEnv(pEnv), + m_bChangeMask(FALSE), + m_bBeingDestroyed(FALSE) { } CPDFSDK_Document::~CPDFSDK_Document() { -- cgit v1.2.3