Index: xfa/src/fwl/src/basewidget/fwl_caretimp.cpp |
diff --git a/xfa/src/fwl/src/basewidget/fwl_caretimp.cpp b/xfa/src/fwl/src/basewidget/fwl_caretimp.cpp |
index ddd3db38cfc65399624baf9a95643fbf81a9e844..62fb997a49808d0730d3e0bef3f445ac4740c9ff 100644 |
--- a/xfa/src/fwl/src/basewidget/fwl_caretimp.cpp |
+++ b/xfa/src/fwl/src/basewidget/fwl_caretimp.cpp |
@@ -128,9 +128,10 @@ FX_BOOL CFWL_CaretImp::DrawCaretBK(CFX_Graphics* pGraphics, |
pTheme->DrawBackground(¶m); |
return FWL_ERR_Succeeded; |
} |
-CFWL_CaretImp::CFWL_CaretTimer::CFWL_CaretTimer(CFWL_CaretImp* m_pCaret) { |
- this->m_pCaret = m_pCaret; |
-} |
+ |
+CFWL_CaretImp::CFWL_CaretTimer::CFWL_CaretTimer(CFWL_CaretImp* pCaret) |
+ : m_pCaret(pCaret) {} |
+ |
int32_t CFWL_CaretImp::CFWL_CaretTimer::Run(FWL_HTIMER hTimer) { |
if (m_pCaret->GetStates() & FWL_STATE_CAT_HightLight) { |
m_pCaret->SetStates(FWL_STATE_CAT_HightLight, FALSE); |