commit | 877b5b9170f101e4aec980e3807dbb787a3f6fa4 | [log] [tgz] |
---|---|---|
author | Lei Zhang <thestig@chromium.org> | Sat Oct 16 04:39:05 2021 +0000 |
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Oct 16 04:39:05 2021 +0000 |
tree | baef65a9d1efaca2376f5943c332c613b17bc5a2 | |
parent | d37818b699fa51d7ff4c24e9951796ff9861e21f [diff] |
Back enum class CPDF_SyntaxParser::ParseType with a bool. Since it only has 2 values. Change-Id: I28458662da7eda98602fdbbb7119eaac8ab09ea1 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/85990 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Hui Yingst <nigi@chromium.org>
diff --git a/core/fpdfapi/parser/cpdf_syntax_parser.h b/core/fpdfapi/parser/cpdf_syntax_parser.h index f8425f6..b7bcecd 100644 --- a/core/fpdfapi/parser/cpdf_syntax_parser.h +++ b/core/fpdfapi/parser/cpdf_syntax_parser.h
@@ -29,7 +29,7 @@ class CPDF_SyntaxParser { public: - enum class ParseType { kStrict, kLoose }; + enum class ParseType : bool { kStrict, kLoose }; struct WordResult { ByteString word;