Index: xfa/fwl/core/fwl_timerimp.cpp |
diff --git a/xfa/fwl/core/fwl_timerimp.cpp b/xfa/fwl/core/fwl_timerimp.cpp |
index 8a5f8896f537875c356b2fa372bb4d344b461279..5adf8e158c1e689bbd2757f7d9cd09180f6c1c1c 100644 |
--- a/xfa/fwl/core/fwl_timerimp.cpp |
+++ b/xfa/fwl/core/fwl_timerimp.cpp |
@@ -5,15 +5,15 @@ |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
#include "xfa/fwl/core/fwl_appimp.h" |
-#include "xfa/fwl/core/ifwl_adapternative.h" |
#include "xfa/fwl/core/ifwl_app.h" |
#include "xfa/fwl/core/ifwl_timer.h" |
#include "xfa/fwl/core/include/ifwl_adaptertimermgr.h" |
+#include "xfa/fxfa/include/xfa_ffapp.h" |
FWL_HTIMER FWL_StartTimer(IFWL_Timer* pTimer, |
uint32_t dwElapse, |
FX_BOOL bImmediately) { |
- IFWL_AdapterNative* pAdapterNative = FWL_GetAdapterNative(); |
+ CXFA_FFApp* pAdapterNative = FWL_GetAdapterNative(); |
if (!pAdapterNative) |
return NULL; |
IFWL_AdapterTimerMgr* pAdapterTimerMgr = pAdapterNative->GetTimerMgr(); |
@@ -24,7 +24,7 @@ FWL_HTIMER FWL_StartTimer(IFWL_Timer* pTimer, |
return hTimer; |
} |
int32_t FWL_StopTimer(FWL_HTIMER hTimer) { |
- IFWL_AdapterNative* pAdapterNative = FWL_GetAdapterNative(); |
+ CXFA_FFApp* pAdapterNative = FWL_GetAdapterNative(); |
if (!pAdapterNative) |
return FWL_ERR_Indefinite; |
IFWL_AdapterTimerMgr* pAdapterTimerMgr = pAdapterNative->GetTimerMgr(); |