summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_comboedit.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-07 17:12:59 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-07 17:12:59 -0800
commit919c0842b74d382e7ae60c85ff16642b646afbb9 (patch)
tree9518c8f10639f90cc63549a1bb068b43a0661d46 /xfa/fwl/core/cfwl_comboedit.cpp
parent4614b45a6592530c4cd930f139c366ce20d359f4 (diff)
downloadpdfium-919c0842b74d382e7ae60c85ff16642b646afbb9.tar.xz
Cleanup caret show/hide code
This CL splits the cursor code into specific show/hide methods to make it clearer what is happening at each point. Review-Url: https://codereview.chromium.org/2535623002
Diffstat (limited to 'xfa/fwl/core/cfwl_comboedit.cpp')
-rw-r--r--xfa/fwl/core/cfwl_comboedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/core/cfwl_comboedit.cpp b/xfa/fwl/core/cfwl_comboedit.cpp
index 32e4cbb2dc..8ee9da6f14 100644
--- a/xfa/fwl/core/cfwl_comboedit.cpp
+++ b/xfa/fwl/core/cfwl_comboedit.cpp
@@ -39,7 +39,7 @@ void CFWL_ComboEdit::FlagFocus(bool bSet) {
}
m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused;
- ShowCaret(false);
+ HideCaret(nullptr);
}
void CFWL_ComboEdit::OnProcessMessage(CFWL_Message* pMessage) {