commit | bc85a7dd219af6a63e60ab981423fe7e4157ae5c | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Thu Jun 10 23:38:23 2021 +0000 |
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 10 23:38:23 2021 +0000 |
tree | f0f43e4f5a9a3127f4969a74be8930441f0aeb55 | |
parent | 7ab141e6aa61d5d1a40fa6efe59886bd2132cc65 [diff] |
Make enum NotificationOption's underlying type bool. It only has 2 possible enum values. Change-Id: I93480bc18ae986337b8c8735b4e4342718a2be37 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/81772 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fpdfdoc/cpdf_formfield.h b/core/fpdfdoc/cpdf_formfield.h index 188477a..945545f 100644 --- a/core/fpdfdoc/cpdf_formfield.h +++ b/core/fpdfdoc/cpdf_formfield.h
@@ -24,7 +24,7 @@ class CPDF_Object; class CPDF_String; -enum class NotificationOption { kDoNotNotify = 0, kNotify }; +enum class NotificationOption : bool { kDoNotNotify = false, kNotify = true }; enum class FormFieldType : uint8_t { kUnknown = 0,