summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-11-04 09:03:57 -0800
committerOliver Chang <ochang@chromium.org>2015-11-04 09:03:57 -0800
commitd3def7e54daef743ab0efbadda4531c64ffd1fc3 (patch)
treeff59c5e6d0adfda7756e2d9b4b0ae0e7cc3cd22f
parent891c22686b90f4b23e741b5f1564f21831ee111c (diff)
downloadpdfium-d3def7e54daef743ab0efbadda4531c64ffd1fc3.tar.xz
Fix uninitialized variable introduced by previous refactoring.
TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1411133006 .
-rw-r--r--fpdfsdk/src/fsdk_mgr.cpp6
1 files changed, 5 insertions, 1 deletions
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() {