summaryrefslogtreecommitdiff
path: root/fpdfsdk/include
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-08-17 12:36:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-17 12:36:14 -0700
commit70ba38a9a1af0240529a96904dfdb8868b868719 (patch)
treeb35b27824997dc065628526b2fa0edfa20202b06 /fpdfsdk/include
parent611adb8c91c1d40c95097bb04b4f9eba03b599f9 (diff)
downloadpdfium-70ba38a9a1af0240529a96904dfdb8868b868719.tar.xz
Build CPDFSDK_XFAAnnotHandler only when PDF_ENABLE_XFA.
Also, remove the #ifdef PDF_ENABLE_XFA that wraps the whole file. Review-Url: https://codereview.chromium.org/2253193002
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r--fpdfsdk/include/cpdfsdk_xfaannothandler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fpdfsdk/include/cpdfsdk_xfaannothandler.h b/fpdfsdk/include/cpdfsdk_xfaannothandler.h
index 664d48ff07..db5e4b7ea6 100644
--- a/fpdfsdk/include/cpdfsdk_xfaannothandler.h
+++ b/fpdfsdk/include/cpdfsdk_xfaannothandler.h
@@ -7,8 +7,6 @@
#ifndef FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_
#define FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_
-#ifdef PDF_ENABLE_XFA
-
#include "core/fxcrt/include/fx_basic.h"
#include "core/fxcrt/include/fx_coordinates.h"
#include "fpdfsdk/include/ipdfsdk_annothandler.h"
@@ -112,6 +110,5 @@ class CPDFSDK_XFAAnnotHandler : public IPDFSDK_AnnotHandler {
CPDFDoc_Environment* m_pApp;
};
-#endif // PDF_ENABLE_XFA
#endif // FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_