From 8779fa8578cf3336ddd4473f833900aba2e595fb Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 12 Oct 2016 12:05:44 -0700 Subject: Cleanup env variable names This CL cleans up any old m_pEnv variables to be correctly named m_pFormFillEnv. Review-Url: https://codereview.chromium.org/2412523002 --- fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp') diff --git a/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp b/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp index 8d9356990b..4c390ae917 100644 --- a/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp +++ b/fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.cpp @@ -17,10 +17,10 @@ FWL_Error CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer, uint32_t dwElapse, bool bImmediately, IFWL_TimerInfo** pTimerInfo) { - if (!m_pEnv) + if (!m_pFormFillEnv) return FWL_Error::Indefinite; - int32_t id_event = m_pEnv->SetTimer(dwElapse, TimerProc); + int32_t id_event = m_pFormFillEnv->SetTimer(dwElapse, TimerProc); if (!s_TimerArray) s_TimerArray = new std::vector; @@ -30,11 +30,11 @@ FWL_Error CXFA_FWLAdapterTimerMgr::Start(IFWL_Timer* pTimer, } FWL_Error CXFA_FWLAdapterTimerMgr::Stop(IFWL_TimerInfo* pTimerInfo) { - if (!pTimerInfo || !m_pEnv) + if (!pTimerInfo || !m_pFormFillEnv) return FWL_Error::Indefinite; CFWL_TimerInfo* pInfo = static_cast(pTimerInfo); - m_pEnv->KillTimer(pInfo->idEvent); + m_pFormFillEnv->KillTimer(pInfo->idEvent); if (s_TimerArray) { auto it = std::find(s_TimerArray->begin(), s_TimerArray->end(), pInfo); if (it != s_TimerArray->end()) { -- cgit v1.2.3