| Index: xfa/fwl/core/cfwl_caret.cpp
|
| diff --git a/xfa/fwl/core/cfwl_caret.cpp b/xfa/fwl/core/cfwl_caret.cpp
|
| index 0457347b663f705698a4431074625f4525dc6077..f9e26a7e9f2dae9ba5dff7d89e511b817bf569ae 100644
|
| --- a/xfa/fwl/core/cfwl_caret.cpp
|
| +++ b/xfa/fwl/core/cfwl_caret.cpp
|
| @@ -76,8 +76,7 @@ void CFWL_Caret::DrawCaretBK(CFX_Graphics* pGraphics,
|
| if (!(m_pProperties->m_dwStates & FWL_STATE_CAT_HightLight))
|
| return;
|
|
|
| - CFX_RectF rect;
|
| - GetWidgetRect(rect, false);
|
| + CFX_RectF rect = GetWidgetRect();
|
| rect.Set(0, 0, rect.width, rect.height);
|
|
|
| CFWL_ThemeBackground param;
|
| @@ -107,8 +106,7 @@ void CFWL_Caret::Timer::Run(CFWL_TimerInfo* pTimerInfo) {
|
| else
|
| pCaret->RemoveStates(FWL_STATE_CAT_HightLight);
|
|
|
| - CFX_RectF rt;
|
| - pCaret->GetWidgetRect(rt, false);
|
| + CFX_RectF rt = pCaret->GetWidgetRect();
|
| rt.Set(0, 0, rt.width + 1, rt.height);
|
| pCaret->Repaint(&rt);
|
| }
|
|
|