Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1586)

Unified Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_util.h

Issue 1800793002: Modify xfa code to avoid c4800 warnings (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/fsdk_baseform.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_util.h
index af69812471ef84c6afc709f9eceefd73c8820694..545d910206b8ed5130a4265aea2f40440dc12460 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;
};
« no previous file with comments | « fpdfsdk/fsdk_baseform.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698