summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-15 10:58:40 -0700
committerWei Li <weili@chromium.org>2016-03-15 10:58:40 -0700
commite40764862208b8cb76f507c489b01e3795fd93bd (patch)
treeea4c86bd75d17f91217df09747896a38e14934db /fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
parent3cc180234c14639d408003c8180ba2963f0ea665 (diff)
downloadpdfium-e40764862208b8cb76f507c489b01e3795fd93bd.tar.xz
Modify xfa code to avoid c4800 warnings
BUG=pdfium:29 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1800793002 .
Diffstat (limited to 'fpdfsdk/include/fpdfxfa/fpdfxfa_util.h')
-rw-r--r--fpdfsdk/include/fpdfxfa/fpdfxfa_util.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
index af69812471..545d910206 100644
--- a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
+++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
@@ -17,7 +17,7 @@
#define JS_STR_VIEWERVARIATION L"Full"
#define JS_STR_VIEWERVERSION_XFA L"11"
-class CFWL_TimerInfo;
+struct CFWL_TimerInfo;
class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr {
public:
@@ -35,13 +35,12 @@ class CXFA_FWLAdapterTimerMgr : public IFWL_AdapterTimerMgr {
CPDFDoc_Environment* const m_pEnv;
};
-class CFWL_TimerInfo {
- public:
+struct CFWL_TimerInfo {
CFWL_TimerInfo() : pTimer(nullptr) {}
- CFWL_TimerInfo(uint32_t event, IFWL_Timer* timer)
- : uIDEvent(event), pTimer(timer) {}
+ CFWL_TimerInfo(int32_t event, IFWL_Timer* timer)
+ : idEvent(event), pTimer(timer) {}
- uint32_t uIDEvent;
+ int32_t idEvent;
IFWL_Timer* pTimer;
};