summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_timer.cpp')
-rw-r--r--xfa/fwl/cfwl_timer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fwl/cfwl_timer.cpp b/xfa/fwl/cfwl_timer.cpp
index 07d8461b9f..b7c54fdab1 100644
--- a/xfa/fwl/cfwl_timer.cpp
+++ b/xfa/fwl/cfwl_timer.cpp
@@ -25,13 +25,13 @@ CFWL_TimerInfo* CFWL_Timer::StartTimer(uint32_t dwElapse, bool bImmediately) {
if (!pAdapterNative)
return nullptr;
- if (!m_pTimeMgrAdapter)
- m_pTimeMgrAdapter = pAdapterNative->GetTimerMgr();
+ if (!m_pAdapterTimerMgr)
+ m_pAdapterTimerMgr = pAdapterNative->NewTimerMgr();
- if (!m_pTimeMgrAdapter)
+ if (!m_pAdapterTimerMgr)
return nullptr;
CFWL_TimerInfo* pTimerInfo = nullptr;
- m_pTimeMgrAdapter->Start(this, dwElapse, bImmediately, &pTimerInfo);
+ m_pAdapterTimerMgr->Start(this, dwElapse, bImmediately, &pTimerInfo);
return pTimerInfo;
}