diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-09-15 15:43:11 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-15 22:54:34 +0000 |
commit | 7b1e53c0ef09da360304c6f4397082d09a945a7e (patch) | |
tree | 0167576535814d271950c4aea24071c4e7b6afce /fpdfsdk/formfiller/cffl_interactiveformfiller.h | |
parent | 134ac9105586407eb3b1e06001101ff893dd4a31 (diff) | |
download | pdfium-7b1e53c0ef09da360304c6f4397082d09a945a7e.tar.xz |
Use unsigned types for app age, value age in widgets.chromium/3218chromium/3217
Then if they roll over, it doesn't matter, since we only check for change.
And then we can pull a silly check. Then remove some no-op calls where we
didn't use the result.
Change-Id: I35ba470b42fb8c32a6984999e0311b21729791ca
Reviewed-on: https://pdfium-review.googlesource.com/14210
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/formfiller/cffl_interactiveformfiller.h')
-rw-r--r-- | fpdfsdk/formfiller/cffl_interactiveformfiller.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/formfiller/cffl_interactiveformfiller.h b/fpdfsdk/formfiller/cffl_interactiveformfiller.h index ddab2adcda..0982f1d92b 100644 --- a/fpdfsdk/formfiller/cffl_interactiveformfiller.h +++ b/fpdfsdk/formfiller/cffl_interactiveformfiller.h @@ -157,8 +157,8 @@ class CFFL_PrivateData : public CPWL_Wnd::PrivateData { public: CPDFSDK_Widget* pWidget; CPDFSDK_PageView* pPageView; - int nWidgetAge; - int nValueAge; + uint32_t nWidgetAppearanceAge; + uint32_t nWidgetValueAge; }; #endif // FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ |