summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_page/pageint.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-23 19:57:45 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-23 19:57:45 -0700
commit29d447ae35101675a2a2d8bc1dcfca65de7f3929 (patch)
tree6a84b11413a53fb547e242bea6a5ddf55df7293a /core/fpdfapi/fpdf_page/pageint.h
parentce56557ef58facf2519f541d5cad33ea121b4c21 (diff)
downloadpdfium-29d447ae35101675a2a2d8bc1dcfca65de7f3929.tar.xz
Improve hint table validation checks.
Check required hint table dictionary entries and make sure they: - Exist. - Are of the right type. Along the way: - Fix FX_atonum() to not have a non-const pass-by-ref param. - Simplify code in CPDF_StreamContentParser. - Make CPDF_Number::IsInteger() a const method. BUG=610555 Review-Url: https://codereview.chromium.org/2095763003
Diffstat (limited to 'core/fpdfapi/fpdf_page/pageint.h')
-rw-r--r--core/fpdfapi/fpdf_page/pageint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_page/pageint.h b/core/fpdfapi/fpdf_page/pageint.h
index 29fd6fb86e..08cfd0472a 100644
--- a/core/fpdfapi/fpdf_page/pageint.h
+++ b/core/fpdfapi/fpdf_page/pageint.h
@@ -87,7 +87,7 @@ struct ContentParam {
Type m_Type;
union {
struct {
- FX_BOOL m_bInteger;
+ bool m_bInteger;
union {
int m_Integer;
FX_FLOAT m_Float;