summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_formfield.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-06-12 20:49:55 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-12 20:49:55 +0000
commit62d8ebeee58c5da29102e61d25b28967a1b2aa04 (patch)
tree0889b83248921397be31899fcc7e860a075bfb07 /core/fpdfdoc/cpdf_formfield.h
parent6eb7939300d1bc7c31afd5086c1b93d4a7628481 (diff)
downloadpdfium-62d8ebeee58c5da29102e61d25b28967a1b2aa04.tar.xz
Comment some more #else // PDF_ENABLE_XFA
This is an anti-pattern when XFA can be configured at runtime. Make it easier to find some more remaining cases. Change-Id: I1ee8d95b2fd52be5e37ef4e859e3e9179ea25975 Reviewed-on: https://pdfium-review.googlesource.com/34990 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_formfield.h')
-rw-r--r--core/fpdfdoc/cpdf_formfield.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_formfield.h b/core/fpdfdoc/cpdf_formfield.h
index 29ff7147c2..78ef1798cb 100644
--- a/core/fpdfdoc/cpdf_formfield.h
+++ b/core/fpdfdoc/cpdf_formfield.h
@@ -44,7 +44,7 @@ Optional<FormFieldType> IntToFormFieldType(int value);
// If values are added to FormFieldType, these will need to be updated.
#ifdef PDF_ENABLE_XFA
constexpr size_t kFormFieldTypeCount = 16;
-#else
+#else // PDF_ENABLE_XFA
constexpr size_t kFormFieldTypeCount = 8;
#endif // PDF_ENABLE_XFA