diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-30 15:46:36 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-30 15:46:36 -0800 |
commit | c46d0005880b24d38d9e7eab2f446e9724e93537 (patch) | |
tree | 731f81c6fcb313a9e3c2b8e0ceaf21f3ce70b6b4 /fpdfsdk | |
parent | 40e9ff30b7f22b37c071dc9751f489d4cc22b0ee (diff) | |
download | pdfium-c46d0005880b24d38d9e7eab2f446e9724e93537.tar.xz |
Allow building non-XFA (master) on the XFA branch.
This first pass is GYP-only, will do GN in the next CL.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1480403002 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/src/fsdk_mgr.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp index 8bcf23147f..401da497f1 100644 --- a/fpdfsdk/src/fsdk_mgr.cpp +++ b/fpdfsdk/src/fsdk_mgr.cpp @@ -617,16 +617,14 @@ CPDFSDK_PageView::CPDFSDK_PageView(CPDFSDK_Document* pSDKDoc, : m_page(page), m_pSDKDoc(pSDKDoc), m_CaptureWidget(nullptr), +#ifndef PDF_ENABLE_XFA + m_bTakeOverPage(FALSE), +#endif // PDF_ENABLE_XFA m_bEnterWidget(FALSE), m_bExitWidget(FALSE), m_bOnWidget(FALSE), m_bValid(FALSE), -#ifdef PDF_ENABLE_XFA m_bLocked(FALSE) { -#else // PDF_ENABLE_XFA - m_bLocked(FALSE), - m_bTakeOverPage(FALSE) { -#endif // PDF_ENABLE_XFA CPDFSDK_InterForm* pInterForm = pSDKDoc->GetInterForm(); if (pInterForm) { CPDF_InterForm* pPDFInterForm = pInterForm->GetInterForm(); |