diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-16 12:15:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-16 12:15:27 -0800 |
commit | 14a60c50b10de1d9e4edd3629ea210a816940a75 (patch) | |
tree | 7cf8c062b28245a9f01a3ed7aace12726ddbba85 /xfa/fwl/core/ifwl_comboedit.cpp | |
parent | af177fe1c062d20b663a4a1c14924be85d0e631e (diff) | |
download | pdfium-14a60c50b10de1d9e4edd3629ea210a816940a75.tar.xz |
Continue formatting fwl/core
Review-Url: https://codereview.chromium.org/2506083002
Diffstat (limited to 'xfa/fwl/core/ifwl_comboedit.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_comboedit.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fwl/core/ifwl_comboedit.cpp b/xfa/fwl/core/ifwl_comboedit.cpp index 0896ba76df..73ca14627f 100644 --- a/xfa/fwl/core/ifwl_comboedit.cpp +++ b/xfa/fwl/core/ifwl_comboedit.cpp @@ -31,10 +31,11 @@ void IFWL_ComboEdit::SetSelected() { void IFWL_ComboEdit::FlagFocus(bool bSet) { if (bSet) { m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused; - } else { - m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; - ShowCaret(false); + return; } + + m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused; + ShowCaret(false); } void IFWL_ComboEdit::OnProcessMessage(CFWL_Message* pMessage) { |